decode static method

Implementation

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