decode static method

Implementation

static FlutterBiometricKycJobStatusResponse decode(Object result) {
  result as List<Object?>;
  return FlutterBiometricKycJobStatusResponse(
    timestamp: result[0]! as String,
    jobComplete: result[1]! as bool,
    jobSuccess: result[2]! as bool,
    code: result[3]! as String,
    result: result[4] != null
        ? FlutterBiometricKycJobResult.decode(result[4]! as List<Object?>)
        : null,
    resultString: result[5] as String?,
    history: (result[6] as List<Object?>?)?.cast<FlutterBiometricKycJobResult?>(),
    imageLinks: result[7] != null
        ? FlutterImageLinks.decode(result[7]! as List<Object?>)
        : null,
  );
}