ContentType class

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

Constructors

ContentType.new(String message, [Color? color])
const

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

Constants

failure → const ContentType
help → const ContentType
success → const ContentType
warning → const ContentType