toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'secretForeignKeys'] = secretForeignKeys;
  json[r'services'] = services;
  if (recipient != null) {
    json[r'recipient'] = recipient;
  }
  if (comment != null) {
    json[r'comment'] = comment;
  }
  return json;
}