border static method

MixProtocolValueCodec<BorderMix> border()

Canonical Mix border value.

Implementation

static MixProtocolValueCodec<BorderMix> border() {
  return MixProtocolValueCodec._(
    borderCodec() as AckSchema<Object, BorderMix>,
    convertValue: (value) => value is Border ? BorderMix.value(value) : null,
  );
}