ImagePickerData.frmMap constructor

ImagePickerData.frmMap(
  1. Map<String, dynamic> map, {
  2. ThembNileConfiguration thembNileConfiguration = const ThembNileConfiguration(),
})

Implementation

ImagePickerData.frmMap(Map<String, dynamic> map,
    {this.thembNileConfiguration = const ThembNileConfiguration()})
    : this.path = map['path'],
      this.url = map['url'],
      _orginal = _ImagePickerData.constCON(
          id: map['id'], name: map['name'], path: map['path']),
      super(path: map['path'], id: map['id'], name: map['name']) {
  if (url?.isNotEmpty ?? false) _icCropped = true;
  _createThubmbnile();
}