fromJson static method
Implementation
static ChatBoostLinkInfo? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatBoostLinkInfo(
isPublic: (json['is_public'] as bool?) ?? false,
chatId: (json['chat_id'] as int?) ?? 0,
);
}