ReaderEntitlements.fromJson constructor
ReaderEntitlements.fromJson(
- Map json_
Implementation
ReaderEntitlements.fromJson(core.Map json_)
: this(
entitlements: json_.containsKey('entitlements')
? (json_['entitlements'] as core.List)
.map((value) => Entitlement.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);