GetDistributionBundlesResult.fromJson constructor

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

Implementation

factory GetDistributionBundlesResult.fromJson(Map<String, dynamic> json) {
  return GetDistributionBundlesResult(
    bundles: (json['bundles'] as List?)
        ?.whereNotNull()
        .map((e) => DistributionBundle.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}