mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 09:57:46 +00:00
16 lines
475 B
Dart
16 lines
475 B
Dart
class TwitterUser {
|
|
TwitterUser({required this.id, required this.username, required this.name, this.description});
|
|
|
|
final String id;
|
|
final String username;
|
|
final String name;
|
|
final String? description;
|
|
|
|
factory TwitterUser.fromJson(Map<String, dynamic> json) {
|
|
return TwitterUser(
|
|
id: json['id'] as String,
|
|
username: json['username'] as String,
|
|
name: json['name'] as String,
|
|
description: json['description'] as String?);
|
|
}
|
|
}
|