ImageInfoData.fromMap constructor

ImageInfoData.fromMap(
  1. Map<String, dynamic> map,
  2. String key
)

Implementation

factory ImageInfoData.fromMap(
  final Map<String, dynamic> map,
  final String key,
) {
  return ImageInfoData(
    height: map['height'],
    width: map['width'],
    key: key,
  );
}