2023-05-26 16:33:04 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Stack Wallet.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Cypher Stack
|
|
|
|
* All Rights Reserved.
|
|
|
|
* The code is distributed under GPLv3 license, see LICENSE file for details.
|
|
|
|
* Generated by Cypher Stack on 2023-05-26
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-01-02 21:16:01 +00:00
|
|
|
class PaynymClaim {
|
|
|
|
final String claimed;
|
|
|
|
final String token;
|
|
|
|
|
|
|
|
PaynymClaim(this.claimed, this.token);
|
|
|
|
|
|
|
|
PaynymClaim.fromMap(Map<String, dynamic> map)
|
|
|
|
: claimed = map["claimed"] as String,
|
|
|
|
token = map["token"] as String;
|
|
|
|
|
|
|
|
Map<String, dynamic> toMap() => {
|
|
|
|
"claimed": claimed,
|
|
|
|
"token": token,
|
|
|
|
};
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return toMap().toString();
|
|
|
|
}
|
|
|
|
}
|