Failure class abstract

Failure

Properties:

  • status - Indicates whether the request was successful or not
  • errorDetails - A string containing details about the failure
Implemented types
Available extensions
Annotations
  • @BuiltValue.new()

Constructors

Failure([void updates(FailureBuilder b)])
factory

Properties

discriminatorValue → String?

Available on TbChatResponse, provided by the TbChatResponseDiscriminatorExt extension

no setter
errorDetails → String?
A string containing details about the failure
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
Indicates whether the request was successful or not
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(FailureBuilder)) → Failure
Rebuilds the instance.
inherited
toBuilder() → FailureBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Failure>
no setter