ApiVersion class

A pairs of ApiId and a u32 for version.

Constructors

ApiVersion({required ApiId id, required int version})
const
ApiVersion.decode(Input input)
factory
ApiVersion.fromJson(List json)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
id → ApiId
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
final

Methods

encode() → Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → List
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

codec → const $ApiVersionCodec