CollectResult.fromMap constructor

CollectResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory CollectResult.fromMap(Map<String, dynamic> map) => CollectResult(
    imageCropBase64: map['imageCropBase64'] as String? ?? '',
    imageSrcBase64: map['imageSrcBase64'] as String? ?? '',
    error: map['error'] as String? ?? '');