SortOptions.fromJson constructor

SortOptions.fromJson(
  1. Map json_
)

Implementation

SortOptions.fromJson(core.Map json_)
    : this(
        operatorName: json_.containsKey('operatorName')
            ? json_['operatorName'] as core.String
            : null,
        sortOrder: json_.containsKey('sortOrder')
            ? json_['sortOrder'] as core.String
            : null,
      );