toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (owner != null) {
json[r'owner'] = owner;
}
if (delegatedTo != null) {
json[r'delegatedTo'] = delegatedTo;
}
if (key != null) {
json[r'key'] = key;
}
json[r'tags'] = tags.toList();
return json;
}