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,
      );