SimpleErrorCollection class
Constructors
-
SimpleErrorCollection({List<
String> ? errorMessages, Map<String, dynamic> ? errors, int? httpStatusCode}) -
SimpleErrorCollection.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
- httpStatusCode → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< String> ? errorMessages, Map<String, dynamic> ? errors, int? httpStatusCode}) → SimpleErrorCollection -
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