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