fromJson static method
Implementation
static ChatFolderIcon? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatFolderIcon(name: (json['name'] as String?) ?? '');
}
static ChatFolderIcon? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatFolderIcon(name: (json['name'] as String?) ?? '');
}