toJson method

Map<String, Object?> toJson()

Implementation

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

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