KoolbasePayload class
The full bootstrap payload returned by the Koolbase API.
Constructors
-
KoolbasePayload({required String payloadVersion, String projectId = '', required Map<
String, KoolbaseFlag> flags, required Map<String, dynamic> config, required KoolbaseVersionPolicy version}) -
const
-
KoolbasePayload.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
config
→ Map<
String, dynamic> -
final
-
flags
→ Map<
String, KoolbaseFlag> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- payloadVersion → String
-
final
- projectId → String
-
The project this environment belongs to. Empty when the server
predates identity metadata or the cached payload was written by an
older SDK; storage public-URL construction requires it and throws
KoolbaseStorageProjectIdentityException while it is unavailable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → KoolbaseVersionPolicy
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
empty(
) → KoolbasePayload