APIVersion class abstract

Implemented types

Constructors

APIVersion([void b(APIVersionBuilder)?])
Creates a new APIVersion object using the builder pattern.
factory
APIVersion.fromJson(Map<String, dynamic> json)
Creates a new object from the given json data.
factory

Properties

epoch int
An epoch to cope with bad API versions.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
major int
The major number of the API.
no setterinherited
minor int
The minor number of the API.
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
rebuild(dynamic updates(APIVersionBuilder)) APIVersion
Rebuilds the instance.
inherited
toBuilder() APIVersionBuilder
Converts the instance to a builder B.
inherited
toJson() Map<String, dynamic>
Parses this object into a json like map.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<APIVersion>
Serializer for APIVersion.
no setter