toJson method

Map<String, Object?> toJson()

Implementation

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

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