SortRangeRequest.fromJson constructor

SortRangeRequest.fromJson(
  1. Map json_
)

Implementation

SortRangeRequest.fromJson(core.Map json_)
    : this(
        range: json_.containsKey('range')
            ? GridRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
        sortSpecs: json_.containsKey('sortSpecs')
            ? (json_['sortSpecs'] as core.List)
                .map((value) => SortSpec.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );