factory M7CapturedImage.fromMap(Map<String, dynamic> map) { return M7CapturedImage( imgPath: map['imgPath'] ?? '', didCaptureAutomatically: map['didCaptureAutomatically'] ?? false, ); }