ErrorInfo class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

ErrorInfo({int? code, String? message})
ErrorInfo.fromJson(Map<String, dynamic> json)
factory

Properties

code int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJsonList(List? jsonList) List<ErrorInfo>?
inherited
fromJsonMap(Map<String, dynamic>? json) ErrorInfo?
fromJsonString(String? json) ErrorInfo?
inherited
fromJsonStringList(String? jsonStringList) List<ErrorInfo>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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