CollabResult class
Constructors
-
CollabResult({Map<
String, String> content = const {}, String? error}) - Returns a new CollabResult instance.
Properties
-
content
↔ Map<
String, String> -
Content maps each document field to its value for the verb: the new blob ref after a createContent, the stored markup after a getContent.
getter/setter pair
- error ↔ String?
-
Error carries a SEMANTIC refusal, which this RPC reports under 200 because the client throws on result.error — auth and tenancy failures are HTTP statuses instead.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → CollabResult? -
Returns a new CollabResult instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CollabResult> -
mapFromJson(
dynamic json) → Map< String, CollabResult> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CollabResult> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.