ImageResult.fromMap constructor
ImageResult.fromMap(
- Map map
Implementation
factory ImageResult.fromMap(Map<dynamic, dynamic> map) => ImageResult(
bytes: map['image'],
size: map['width'] != 0 && map['height'] != 0
? Size(map['width'].toDouble(), map['height'].toDouble())
: Size.zero);