ObjectFieldSelector class

ObjectFieldSelector selects an APIVersioned field of an object.

Constructors

ObjectFieldSelector({String? apiVersion, required String fieldPath})
The main constructor.
const
ObjectFieldSelector.fromJson(Map<String, dynamic> json)
Creates a ObjectFieldSelector from JSON data.

Properties

apiVersion String?
Version of the schema the FieldPath is written in terms of, defaults to "v1".
final
fieldPath String
Path of the field to select in the specified API version.
final
hashCode int
The hash code for this object.
no setterinherited
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, Object>
Converts a ObjectFieldSelector instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<ObjectFieldSelector>
Creates a list of ObjectFieldSelector from JSON data.