ContentStateRestInput class

Constructors

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

Properties

color String?
Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)
final
hashCode int
The hash code for this object.
no setterinherited
id int?
id of state. This can be 0,1, or 2 if you wish to specify a default space state.
final
name String?
Name of content state. Maximum 20 characters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? color, int? id}) ContentStateRestInput
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