toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  if (categorisedActors != null) {
    json[r'categorisedActors'] = categorisedActors;
  }
  if (id != null) {
    json[r'id'] = id;
  }
  return json;
}