toJson method
Converts the object to a JSON-compatible map.
Implement this method in classes that use this mixin to provide custom serialization to JSON.
Implementation
@override
Map<String, dynamic> toJson() => _$ServerNotificationModelToJson(this);