toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'keyboardButtonTypeRequestUser',
if (extra != null) '@extra': extra,
'id': id,
'restrict_user_is_bot': restrict_user_is_bot,
'user_is_bot': user_is_bot,
'restrict_user_is_premium': restrict_user_is_premium,
'user_is_premium': user_is_premium
};
}