fromMap static method

AcuantFaceImage? fromMap(
  1. Map data
)

Implementation

static AcuantFaceImage? fromMap(Map data) {
  try {
    return AcuantFaceImage(
      rawBytes: data["RAW_BYTES"],
      liveness: _livenessFromString(data["LIVE"]),
    );
  } catch (e) {
    return null;
  }
}