stack_wallet/lib/models/paynym/paynym_unfollow.dart

34 lines
794 B
Dart
Raw Normal View History

2023-05-26 21:21:16 +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
*
*/
class PaynymUnfollow {
final String follower;
final String unfollowing;
final String token;
PaynymUnfollow(this.follower, this.unfollowing, this.token);
PaynymUnfollow.fromMap(Map<String, dynamic> map)
: follower = map["follower"] as String,
unfollowing = map["unfollowing"] as String,
token = map["token"] as String;
Map<String, dynamic> toMap() => {
"follower": follower,
"unfollowing": unfollowing,
"token": token,
};
@override
String toString() {
return toMap().toString();
}
}