toJson method
Implementation
@override
Object toJson() => {
'modelId': ?modelId,
'parentModel': ?parentModel,
'parent': parent,
'sourceModel': sourceModel,
'encryptionSpec': ?encryptionSpec?.toJson(),
if (customServiceAccount.isNotDefault)
'customServiceAccount': customServiceAccount,
};