CustomDataSource.fromJson constructor
CustomDataSource.fromJson(
- Map json_
Implementation
CustomDataSource.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
childLink: json_.containsKey('childLink')
? CustomDataSourceChildLink.fromJson(
json_['childLink'] as core.Map<core.String, core.dynamic>)
: null,
created: json_.containsKey('created')
? core.DateTime.parse(json_['created'] as core.String)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
importBehavior: json_.containsKey('importBehavior')
? json_['importBehavior'] as core.String
: 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')
? CustomDataSourceParentLink.fromJson(
json_['parentLink'] as core.Map<core.String, core.dynamic>)
: null,
profilesLinked: json_.containsKey('profilesLinked')
? (json_['profilesLinked'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
schema: json_.containsKey('schema')
? (json_['schema'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
updated: json_.containsKey('updated')
? core.DateTime.parse(json_['updated'] as core.String)
: null,
uploadType: json_.containsKey('uploadType')
? json_['uploadType'] as core.String
: null,
webPropertyId: json_.containsKey('webPropertyId')
? json_['webPropertyId'] as core.String
: null,
);