toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (created != null) 'created': created!.toUtc().toIso8601String(),
      if (definition != null) 'definition': definition!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (segmentId != null) 'segmentId': segmentId!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (type != null) 'type': type!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
    };