toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (links != null) r'_links': links,
if (about != null) r'about': about,
if (agreement != null) r'agreement': agreement,
if (configuration != null) r'configuration': configuration,
if (contactPoints != null) r'contactPoints': contactPoints,
if (createdAt != null) r'createdAt': createdAt!.toUtc().toIso8601String(),
if (id != null) r'id': id,
r'name': name,
r'token': token,
if (type != null) r'type': type,
if (updatedAt != null) r'updatedAt': updatedAt!.toUtc().toIso8601String(),
if (version != null) r'version': version,
};
}