toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'subject'] = subject.toJson();
  json[r'operations'] = operations.map((i) => i.toJson()).toList();
  return json;
}