decode static method

Implementation

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