toJson method

Map<String, dynamic> toJson()

Implementation

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