State class

Constructors

State({String? id, String? type, String? name, String? description, String? color, double? progression})
Returns a new State instance.

Properties

color String?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
getter/setter pair
name String?
getter/setter pair
progression double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
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.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) State?
Returns a new State instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<State>
mapFromJson(Map<String, dynamic>? json) Map<String, State>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<State>>