Order.fromJson constructor

Order.fromJson(
  1. Map _json
)

Implementation

Order.fromJson(core.Map _json)
    : this(
        direction: _json.containsKey('direction')
            ? _json['direction'] as core.String
            : null,
        field: _json.containsKey('field')
            ? FieldReference.fromJson(
                _json['field'] as core.Map<core.String, core.dynamic>)
            : null,
      );