toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '5e002502',
'\$name': 'AuthSentCode',
'flags': flags,
'type': type,
'phoneCodeHash': phoneCodeHash,
'nextType': nextType,
'timeout': timeout,
};
// Finished toJson.
return returnValue;
}