DecoderResult<T> constructor

const DecoderResult<T>({
  1. required T result,
  2. required int consumed,
  3. required String? name,
})

Constructor for DecoderResult.

Implementation

const DecoderResult(
    {required this.result, required this.consumed, required this.name});