ThepeerData class

Constructors

ThepeerData({required String publicKey, required String userReference, required String currency, required int amount, Map<String, Object> meta = const {}})
ThepeerData.fromJson(String source)
factory
ThepeerData.fromMap(Map<String, dynamic> map)
factory

Properties

amount int
The amount you intend to send and must be pass as an integer in kobo
final
currency String
The currency of the amount to be paid
final
hashCode int
The hash code for this object.
no setterinherited
isProd bool
no setter
meta Map<String, Object>
Optional Medata data needed
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
publicKey String
Your public key an be found on your dashboard settings
final
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 setter
userReference String
The user reference returned by the Thepeer API when a user has been indexed
final

Methods

copyWith({String? publicKey, String? userReference, String? currency, String? receiptUrl, Map<String, Object>? meta, int? amount}) ThepeerData
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