toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['push_device_token'] = pushDeviceToken;
data['push_notification_provider'] = pushNotificationProvider;
String pushEnvironment = kDebugMode ? "debug" : "production";
data['push_notification_environment'] = pushEnvironment;
print("pushEnvironment: $pushEnvironment");
return data;
}