ConsumedLicenseSummary.fromJson constructor

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

Implementation

factory ConsumedLicenseSummary.fromJson(Map<String, dynamic> json) {
  return ConsumedLicenseSummary(
    consumedLicenses: json['ConsumedLicenses'] as int?,
    resourceType: (json['ResourceType'] as String?)?.toResourceType(),
  );
}