mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
23 lines
560 B
Dart
23 lines
560 B
Dart
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();
|
|
}
|
|
}
|