LicenseResourceCommitment.fromJson constructor

LicenseResourceCommitment.fromJson(
  1. Map json_
)

Implementation

LicenseResourceCommitment.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? json_['amount'] as core.String
            : null,
        coresPerLicense: json_.containsKey('coresPerLicense')
            ? json_['coresPerLicense'] as core.String
            : null,
        license: json_.containsKey('license')
            ? json_['license'] as core.String
            : null,
      );