toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'cacb6ae2',
'\$name': 'InputPeerNotifySettings',
'flags': flags,
'showPreviews': showPreviews,
'silent': silent,
'muteUntil': muteUntil?.toIso8601String(),
'sound': sound,
'storiesMuted': storiesMuted,
'storiesHideSender': storiesHideSender,
'storiesSound': storiesSound,
};
// Finished toJson.
return returnValue;
}