toJson method

  1. @override
Object toJson()

Implementation

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