TableListTables.fromJson constructor
TableListTables.fromJson(
- Map json_
Implementation
TableListTables.fromJson(core.Map json_)
: this(
clustering: json_.containsKey('clustering')
? Clustering.fromJson(
json_['clustering'] as core.Map<core.String, core.dynamic>)
: null,
creationTime: json_.containsKey('creationTime')
? json_['creationTime'] as core.String
: null,
expirationTime: json_.containsKey('expirationTime')
? json_['expirationTime'] as core.String
: null,
friendlyName: json_.containsKey('friendlyName')
? json_['friendlyName'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
rangePartitioning: json_.containsKey('rangePartitioning')
? RangePartitioning.fromJson(json_['rangePartitioning']
as core.Map<core.String, core.dynamic>)
: null,
requirePartitionFilter: json_.containsKey('requirePartitionFilter')
? json_['requirePartitionFilter'] as core.bool
: null,
tableReference: json_.containsKey('tableReference')
? TableReference.fromJson(json_['tableReference']
as core.Map<core.String, core.dynamic>)
: null,
timePartitioning: json_.containsKey('timePartitioning')
? TimePartitioning.fromJson(json_['timePartitioning']
as core.Map<core.String, core.dynamic>)
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
view: json_.containsKey('view')
? TableListTablesView.fromJson(
json_['view'] as core.Map<core.String, core.dynamic>)
: null,
);