toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final imageType = this.imageType;
  final imageIdOverride = this.imageIdOverride;
  return {
    'imageType': imageType,
    if (imageIdOverride != null) 'imageIdOverride': imageIdOverride,
  };
}