ContentState class

Constructors

ContentState({required int id, required String name, required String color})
ContentState.fromJson(Map<String, Object?> json)
factory

Properties

color → String
hex string representing color of state
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
identifier of content state. If 0, 1, or 2, this is a default space state
final
name → String
name of content state.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? name, String? color}) → ContentState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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