toJson method

Map<String, Object?> toJson()

Implementation

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

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