ListLicenseSpecificationsForResourceResponse.fromJson constructor

ListLicenseSpecificationsForResourceResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListLicenseSpecificationsForResourceResponse.fromJson(
    Map<String, dynamic> json) {
  return ListLicenseSpecificationsForResourceResponse(
    licenseSpecifications: (json['LicenseSpecifications'] as List?)
        ?.whereNotNull()
        .map((e) => LicenseSpecification.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}