LicenseUsage.fromJson constructor

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

Implementation

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