VersionedResource class

Resource representation as defined by the corresponding service providing the resource for a given API version.

Constructors

VersionedResource({Map<String, Object?>? resource, String? version})
VersionedResource.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
resource Map<String, Object?>?
JSON representation of the resource as defined by the corresponding service providing this resource.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
API version of the resource.
getter/setter pair

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