orders property Null safety

Future<Map<String, Order>> orders

Gets the active orders for the worker. The orders are sorted with the ordering in which the worker should complete them.

Implementation

static Future<Map<String, Order>> get orders async {
  return _invokeSdkMethod<Map<Object?, Object?>>(SdkMethod.getOrders)
      .then((value) {
    return deserializeOrders(value);
  });
}