toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'description'] = description;
  json[r'id'] = id;
  json[r'isDefault'] = isDefault;
  json[r'name'] = name;
  return json;
}