CafEnvironment enum
Supported runtime environments for the CafSDK.
The declaration order below is a wire-format contract: environment is
sent to the native Android bridge as an ordinal int
(see CafSdkConfiguration.toJson), matching the native
io.caf.sdk.commons.CafEnvironment Kotlin enum order
(PROD, BETA, DEV). Do not reorder, insert, or remove values without a
coordinated native bridge release. caf_sdk_method_channel_test.dart
pins the expected ordinals.
Values
- prod → const CafEnvironment
-
Production environment.
const CafEnvironment('PROD') - beta → const CafEnvironment
-
Beta testing environment.
const CafEnvironment('BETA') - dev → const CafEnvironment
-
Development environment.
const CafEnvironment('DEV')
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
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String value) → CafEnvironment
Constants
-
values
→ const List<
CafEnvironment> - A constant List of the values in this enum, in order of their declaration.