find<T> static method

TransferCodec<T>? find<T>()

Implementation

static TransferCodec<T>? find<T>() =>
    codecs.firstOrNullWhere((c) => c.matches<T>()) as TransferCodec<T>?;