json property

Map<String, dynamic> json

Function to get the metadata of image processing purposes

Implementation

Map<String, dynamic> get json => <String, dynamic>{
      'width': size.width,
      'height': size.height,
      'rotation': imageRotationToInt(rotation),
      'imageFormat': imageFormatToInt(format)
    };