DataModel class

class return data of paymentez

Constructors

DataModel({String? status, String? cvc, Card? card, Error? error})
DataModel.fromJson(String str)
factory
DataModel.fromMap(Map<String, dynamic> json)
factory

Properties

card Card?
model return add card of paymentez
getter/setter pair
cvc String?
getter/setter pair
error Error?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
status of package is: success, review, failure, error
getter/setter pair

Methods

copyWith({String? status, String? cvc, Card? card, Error? error}) DataModel
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