toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.imageId != null) {
    json[r'image_id'] = this.imageId;
  } else {
    json[r'image_id'] = null;
  }
  return json;
}