CustomPersonality class

A custom style preset.

Holds an arbitrary string value for presets not modeled as a known variant. The value must be at most 64 characters; the server rejects longer values.

Inheritance
Annotations
  • @immutable

Constructors

CustomPersonality(String value)
Creates a CustomPersonality with the given value.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The raw string value for this personality.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts to JSON value.
inherited
toString() String
A string representation of this object.
override

Operators

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