Status class

Inheritance
Implementers
Annotations
  • @JsonSerializable()

Constructors

Status({dynamic status, String? statusVerbose, String? body, String? error, int? imageId})
Status.fromApiResponse(String responseBody)
Constructs a Status from an API response
factory
Status.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
final
error String?
final
hashCode int
The hash code for this object.
no setterinherited
imageId int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status → dynamic
final
statusVerbose String?
final

Methods

copyWith({dynamic status, String? statusVerbose, String? body, String? error, int? imageId}) Status
isWrongUsernameOrPassword() bool
Returns true if this Status is caused by wrong username or password, false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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