ResourceCommitment.fromJson constructor

ResourceCommitment.fromJson(
  1. Map json_
)

Implementation

ResourceCommitment.fromJson(core.Map json_)
    : this(
        acceleratorType: json_.containsKey('acceleratorType')
            ? json_['acceleratorType'] as core.String
            : null,
        amount: json_.containsKey('amount')
            ? json_['amount'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );