Resource.fromJson constructor
Resource.fromJson(
- Map json_
Implementation
Resource.fromJson(core.Map json_)
: this(
data: json_.containsKey('data')
? json_['data'] as core.Map<core.String, core.dynamic>
: null,
discoveryDocumentUri: json_.containsKey('discoveryDocumentUri')
? json_['discoveryDocumentUri'] as core.String
: null,
discoveryName: json_.containsKey('discoveryName')
? json_['discoveryName'] as core.String
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
parent: json_.containsKey('parent')
? json_['parent'] as core.String
: null,
resourceUrl: json_.containsKey('resourceUrl')
? json_['resourceUrl'] as core.String
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);