toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var key = this.key;

  final json = <String, Object?>{};
  json[r'key'] = key;
  return json;
}