toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (attachmentNamespace != null)
        'attachmentNamespace': attachmentNamespace!,
      if (createTime != null) 'createTime': createTime!,
      if (files != null) 'files': files!,
      if (name != null) 'name': name!,
      if (ociVersionName != null) 'ociVersionName': ociVersionName!,
      if (target != null) 'target': target!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };