ErrorCollection class

Error messages from an operation.

Constructors

ErrorCollection({List<String>? errorMessages, Map<String, dynamic>? errors, int? status})
ErrorCollection.fromJson(Map<String, Object?> json)
factory

Properties

errorMessages List<String>
The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"
final
errors Map<String, dynamic>?
The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters."
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
final

Methods

copyWith({List<String>? errorMessages, Map<String, dynamic>? errors, int? status}) ErrorCollection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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