decode static method

Implementation

static FlutterAuthenticationResponse decode(Object result) {
  result as List<Object?>;
  return FlutterAuthenticationResponse(
    success: result[0]! as bool,
    signature: result[1]! as String,
    timestamp: result[2]! as String,
    partnerParams: FlutterPartnerParams.decode(result[3]! as List<Object?>),
    callbackUrl: result[4] as String?,
    consentInfo: result[5] != null
        ? FlutterConsentInfo.decode(result[5]! as List<Object?>)
        : null,
  );
}