toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attachmentPoint != null) 'attachmentPoint': attachmentPoint!,
      if (createTime != null) 'createTime': createTime!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (source != null) 'source': source!,
    };