ProtoGoogleFieldMask class

google.protobuf.FieldMask runtime.

Canonical JSON mapping is a single comma-joined string ("user.displayName,photo"); a list of paths is accepted on parse.

Inheritance

Constructors

ProtoGoogleFieldMask({List<String> paths = const []})
const
ProtoGoogleFieldMask.deserialize(List<int> bytes)
factory
ProtoGoogleFieldMask.fromDynamic(Object? json)
Parses either the field map or the canonical comma-joined string form.
factory
ProtoGoogleFieldMask.fromJson(Map<String, dynamic> json, {ProtoJsonConfig config = DefaultProtoJsonConfig.defaultConfig})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
paths → List<String>
final
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
toJsonString() → String
Canonical JSON is the comma-joined paths string.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

protoConfigStatic() → ProtoMessageConfig