FilterSubscription.fromJson constructor
Implementation
factory FilterSubscription.fromJson(Map<String, Object?> json) {
return FilterSubscription(
group: json[r'group'] != null
? GroupName.fromJson(json[r'group']! as Map<String, Object?>)
: null,
id: (json[r'id'] as num?)?.toInt(),
user: json[r'user'] != null
? User.fromJson(json[r'user']! as Map<String, Object?>)
: null,
);
}