PublishableKeyErrorReason enum

Why a publishable key could not be decoded.

Inheritance
Available extensions

Values

missing → const PublishableKeyErrorReason

An empty key was supplied.

secretKey → const PublishableKeyErrorReason

A sk_ key reached a function that expects a publishable one.

Its own reason, not a flavour of malformed: a leaked secret key compromises the whole project, so the fix is to rotate it rather than correct a typo.

malformed → const PublishableKeyErrorReason

The key did not match pk_(live|test)_<uuid>_<base62>.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PublishableKeyErrorReason>
A constant List of the values in this enum, in order of their declaration.