ListEntitlementsResponse.fromJson constructor
Implementation
factory ListEntitlementsResponse.fromJson(Map<String, dynamic> json) {
return ListEntitlementsResponse(
entitlements: (json['entitlements'] as List?)
?.whereNotNull()
.map((e) => ListedEntitlement.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}