PaymongoErrorSource class

This attribute exists If the error originated from the JSON payload. If the error is related to the query parameter, for example the :id parameter when retrieving a certain resource, this attribute is not returned.

Constructors

PaymongoErrorSource.new({required String pointer, required String attribute})
This attribute exists If the error originated from the JSON payload. If the error is related to the query parameter, for example the :id parameter when retrieving a certain resource, this attribute is not returned.
const
PaymongoErrorSource.fromJson(String source)
This attribute exists If the error originated from the JSON payload. If the error is related to the query parameter, for example the :id parameter when retrieving a certain resource, this attribute is not returned.
factory
PaymongoErrorSource.fromMap(Map<String, dynamic> map)
This attribute exists If the error originated from the JSON payload. If the error is related to the query parameter, for example the :id parameter when retrieving a certain resource, this attribute is not returned.
factory

Properties

attribute String
If the payload attribute is nested but you are not interested with its position on the payload, you may just refer to the source.attribute instead.
final
hashCode int
The hash code for this object.
no setterinherited
pointer String
If the payload attribute is nested, it is represented with a dot details.card_number is based on this payload:
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({String? pointer, String? attribute}) PaymongoErrorSource
This attribute exists If the error originated from the JSON payload. If the error is related to the query parameter, for example the :id parameter when retrieving a certain resource, this attribute is not returned.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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