Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'deviceTokenMicrosoftPush', if (extra != null) '@extra': extra, 'channel_uri': channel_uri }; }