CustomDimension.fromJson constructor
CustomDimension.fromJson(
- Map json_
Implementation
CustomDimension.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
active:
json_.containsKey('active') ? json_['active'] as core.bool : null,
created: json_.containsKey('created')
? core.DateTime.parse(json_['created'] as core.String)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
index: json_.containsKey('index') ? json_['index'] as core.int : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parentLink: json_.containsKey('parentLink')
? CustomDimensionParentLink.fromJson(
json_['parentLink'] as core.Map<core.String, core.dynamic>)
: null,
scope:
json_.containsKey('scope') ? json_['scope'] as core.String : null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
updated: json_.containsKey('updated')
? core.DateTime.parse(json_['updated'] as core.String)
: null,
webPropertyId: json_.containsKey('webPropertyId')
? json_['webPropertyId'] as core.String
: null,
);