ContentType class

to handle failure, success, help and warning ContentType class is being used

Constructors

ContentType(String message, [Color? color])

Properties

color Color?
color is optional, if provided null then DefaultColors will be used
final
hashCode int
The hash code for this object.
no setterinherited
message String
message is required parameter
final
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

failure ContentType
getter/setter pair
help ContentType
getter/setter pair
success ContentType
getter/setter pair
warning ContentType
getter/setter pair