decode static method

Implementation

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