decode static method

FlutterAvailableIdType decode(
  1. Object result
)

Implementation

static FlutterAvailableIdType decode(Object result) {
  result as List<Object?>;
  return FlutterAvailableIdType(
    idTypeKey: result[0]! as String,
    label: result[1]! as String,
    requiredFields: (result[2] as List<Object?>?)!.cast<String?>(),
    testData: result[3] as String?,
    idNumberRegex: result[4] as String?,
  );
}