toJson method
Implementation
@override
Object toJson() => {
if (mountPath.isNotDefault) 'mountPath': mountPath,
if (projectId.isNotDefault) 'projectId': projectId,
if (secret.isNotDefault) 'secret': secret,
if (versions.isNotDefault) 'versions': encodeList(versions),
};