ProblemDetails class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ProblemDetails.new({String? type, String? title, int? status, String? detail})
ProblemDetails.fromJson(Map<String, dynamic> json)
factory

Properties

detail String?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
final
title String?
final
type String?
final

Methods

copyWith({String? type, String? title, int? status, String? detail}) ProblemDetails

Available on ProblemDetails, provided by the $ProblemDetailsExtension extension

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

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const ProblemDetails Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ProblemDetails instance)