obfuscationSafeStringify method

String obfuscationSafeStringify()

Implementation

String obfuscationSafeStringify() {
  if (this is NFCWithAccessControlFlow) {
    return "NFCWithAccessControlFlow";
  }
  if (this is VIZOnlyOnePageFlow) {
    return "VIZOnlyOnePageFlow";
  }
  if (this is VIZOnlyBothSidesFlow) {
    return "VIZOnlyBothSidesFlow";
  }
  if (this is NFCOnlyFlow) {
    return "NFCOnlyFlow";
  }
  if (this is NFCWithVIZBothSidesFlow) {
    return "NFCWithVIZBothSidesFlow";
  }
  if (this is NFCWithVIZFallbackFlow) {
    return "NFCWithVIZFallbackFlow";
  }
  if (this is NFCWithVIZFlow) {
    return "NFCWithVIZFlow";
  }
  throw UnimplementedError("Unknown flow: $this");
}