ViewDefinition.fromJson constructor
ViewDefinition.fromJson(
- Map json_
Implementation
ViewDefinition.fromJson(core.Map json_)
: this(
foreignDefinitions: json_.containsKey('foreignDefinitions')
? (json_['foreignDefinitions'] as core.List)
.map((value) => ForeignViewDefinition.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
privacyPolicy: json_.containsKey('privacyPolicy')
? PrivacyPolicy.fromJson(
json_['privacyPolicy'] as core.Map<core.String, core.dynamic>)
: null,
query:
json_.containsKey('query') ? json_['query'] as core.String : null,
useExplicitColumnNames: json_.containsKey('useExplicitColumnNames')
? json_['useExplicitColumnNames'] as core.bool
: null,
useLegacySql: json_.containsKey('useLegacySql')
? json_['useLegacySql'] as core.bool
: null,
userDefinedFunctionResources:
json_.containsKey('userDefinedFunctionResources')
? (json_['userDefinedFunctionResources'] as core.List)
.map((value) => UserDefinedFunctionResource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);