toJson method
Implementation
Map<String, dynamic> toJson() => {
'app_id': appId,
if (data != null) 'data': data,
'pushkey': pushkey,
if (pushkeyTs != null) 'pushkey_ts': pushkeyTs,
if (tweaks != null) 'tweaks': tweaks?.toJson(),
};