terminalCustomRows property

int? get terminalCustomRows

The persisted custom row count, or null.

Implementation

int? get terminalCustomRows => int.tryParse(_kv.read(_termRowsKey) ?? '');
set terminalCustomRows (int? value)

Implementation

set terminalCustomRows(int? value) => value == null
    ? _kv.remove(_termRowsKey)
    : _kv.write(_termRowsKey, '$value');