toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (database != null) 'database': database!,
if (databaseResource != null) 'databaseResource': databaseResource!,
if (instance != null) 'instance': instance!,
if (projectId != null) 'projectId': projectId!,
};