SplitCapacityCommitmentResponse.fromJson constructor

SplitCapacityCommitmentResponse.fromJson(
  1. Map json_
)

Implementation

SplitCapacityCommitmentResponse.fromJson(core.Map json_)
    : this(
        first: json_.containsKey('first')
            ? CapacityCommitment.fromJson(
                json_['first'] as core.Map<core.String, core.dynamic>)
            : null,
        second: json_.containsKey('second')
            ? CapacityCommitment.fromJson(
                json_['second'] as core.Map<core.String, core.dynamic>)
            : null,
      );