toJson method

Map<String, Object?> toJson()

Implementation

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

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