OrderBy.fromJson constructor

OrderBy.fromJson(
  1. Map json_
)

Implementation

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