toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'c0fd5d09',
'\$name': 'KeyboardButtonUserProfile',
'flags': flags,
'style': style,
'text': text,
'userId': userId,
};
// Finished toJson.
return returnValue;
}