MoveDimensionRequest.fromJson constructor

MoveDimensionRequest.fromJson(
  1. Map json_
)

Implementation

MoveDimensionRequest.fromJson(core.Map json_)
    : this(
        destinationIndex: json_.containsKey('destinationIndex')
            ? json_['destinationIndex'] as core.int
            : null,
        source: json_.containsKey('source')
            ? DimensionRange.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );