model property

T? get model

Implementation

T? get model => _model;
set model (T? model)

Implementation

set model(T? model) {
  _model = model;
  text = (model ?? '').toString();
}