toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (credential != null) 'credential': credential!,
if (database != null) 'database': database!,
if (instanceId != null) 'instanceId': instanceId!,
if (type != null) 'type': type!,
};