ModelSnapshot constructor Null safety

ModelSnapshot(
  1. ModelSnapshot? other,
  2. String text
)

Implementation

ModelSnapshot(ModelSnapshot? other, this.text)
    : program = other?.program ?? CircularBuffer<String>.create(10, '');