mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +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?);
|
|
}
|
|
}
|