decode static method

FlutterIdSelection decode(
  1. Object result
)

Implementation

static FlutterIdSelection decode(Object result) {
  result as List<Object?>;
  return FlutterIdSelection(
    basicKyc: (result[0] as Map<Object?, Object?>?)!.cast<String?, List<String?>?>(),
    biometricKyc: (result[1] as Map<Object?, Object?>?)!.cast<String?, List<String?>?>(),
    enhancedKyc: (result[2] as Map<Object?, Object?>?)!.cast<String?, List<String?>?>(),
    documentVerification: (result[3] as Map<Object?, Object?>?)!.cast<String?, List<String?>?>(),
  );
}