toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'aac7b717',
'\$name': 'AuthSignUp',
'flags': flags,
'noJoinedNotifications': noJoinedNotifications,
'phoneNumber': phoneNumber,
'phoneCodeHash': phoneCodeHash,
'firstName': firstName,
'lastName': lastName,
};
// Finished toJson.
return returnValue;
}