RazorpayError class abstract

Annotations
  • @freezed

Constructors

RazorpayError.new({required String code, required String description, dynamic field, String? source, String? step, String? reason, Map<String, String>? metadata})
const
factory
RazorpayError.fromJson(Map<String, dynamic> json)
factory

Properties

code String
no setterinherited
copyWith → $RazorpayErrorCopyWith<RazorpayError>
Create a copy of RazorpayError with the given fields replaced by the non-null parameter values.
no setterinherited
description String
no setterinherited
field → dynamic
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>?
no setterinherited
reason String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
no setterinherited
step String?
no setterinherited

Methods

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

Operators

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