fromJson static method
Implementation
static AgeVerificationParameters? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return AgeVerificationParameters(
minAge: (json['min_age'] as int?) ?? 0,
verificationBotUsername:
(json['verification_bot_username'] as String?) ?? '',
country: (json['country'] as String?) ?? '',
);
}