toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (links != null) {
json[r'links'] = links;
}
if (id != null) {
json[r'id'] = id;
}
json[r'orgID'] = orgID;
json[r'name'] = name;
if (description != null) {
json[r'description'] = description;
}
if (selected != null) {
json[r'selected'] = selected;
}
if (labels != null) {
json[r'labels'] = labels;
}
json[r'arguments'] = arguments;
if (createdAt != null) {
json[r'createdAt'] = createdAt!.toUtc().toIso8601String();
}
if (updatedAt != null) {
json[r'updatedAt'] = updatedAt!.toUtc().toIso8601String();
}
return json;
}