WriteParams constructor

WriteParams({
  1. required WriteCommandType type,
  2. int? size,
  3. int? position,
  4. dynamic data,
})

Implementation

factory WriteParams(
        {required WriteCommandType type,
        int? size,
        int? position,
        dynamic data}) =>
    WriteParams._(
        type: type.value,
        size: size ?? undefined,
        position: position ?? undefined,
        data: data ?? undefined);