ProtoGoogleStruct class
google.protobuf.Struct: map<string, Value> fields = 1.
Canonical JSON mapping is the raw object itself.
- Inheritance
-
- Object
- IProtoMessage<
ProtoJsonConfig> - ProtoGoogleStruct
Constructors
-
ProtoGoogleStruct({Map<
String, ProtoGoogleValue> fields = const {}}) -
const
-
ProtoGoogleStruct.deserialize(List<
int> bytes) -
factory
- ProtoGoogleStruct.fromDynamic(Object? json)
-
Parses either the field map or the canonical raw-object form.
factory
-
ProtoGoogleStruct.fromJson(Map<
String, dynamic> json, {ProtoJsonConfig config = DefaultProtoJsonConfig.defaultConfig}) -
factory
Properties
-
fields
→ Map<
String, ProtoGoogleValue> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
protoValues
→ List<
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
-
protoConfig(
) → ProtoMessageConfig -
override
-
toBuffer(
) → BuBytes -
inherited
-
toJson(
{ProtoJsonConfig config = DefaultProtoJsonConfig.defaultConfig}) → Map< String, dynamic> -
override
-
toJsonValue(
) → Map< String, Object?> - Canonical JSON is the raw object itself.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited