toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var path = this.path;
  var width = this.width;
  var height = this.height;
  var isDefault = this.isDefault;

  final json = <String, Object?>{};
  json[r'path'] = path;
  json[r'width'] = width;
  json[r'height'] = height;
  json[r'isDefault'] = isDefault;
  return json;
}