ErrorData class Null safety

https://firebase.google.com/docs/reference/rest/auth#section-error-format

Annotations

Constructors

ErrorData({@Default(-1) int code, String? message, @Default(<ErrorDetails>[]) List<ErrorDetails> errors})
Default constructor
const
factory
ErrorData.fromJson(Map<String, dynamic> json)
JSON Constructor
factory

Properties

code int
The error code
read-onlyinherited
copyWith → $ErrorDataCopyWith<ErrorData>
@JsonKey(ignore: true)read-onlyinherited
errors List<ErrorDetails>
A list of details about this error
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
message String?
The error message
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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