fromJson static method
Inherited by: LoginUrlInfoOpen LoginUrlInfoRequestConfirmation
Implementation
static LoginUrlInfoRequestConfirmation? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return LoginUrlInfoRequestConfirmation(
url: (json['url'] as String?) ?? '',
domain: (json['domain'] as String?) ?? '',
botUserId: (json['bot_user_id'] as int?) ?? 0,
requestWriteAccess: (json['request_write_access'] as bool?) ?? false,
);
}