toJson method

Map<String, Object?> toJson()

Implementation

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

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