clearedList<V> method Null safety

EmpireStateChanged<Iterable<V>> clearedList<V>(
  1. Iterable<V> iterable,
  2. {String? propertyName}
)

A factory method which creates a single EmpireStateChanged object with a description stating that the entire list was cleared

Implementation

static EmpireStateChanged<Iterable<V>> clearedList<V>(Iterable<V> iterable,
        {String? propertyName}) =>
    EmpireStateChanged(<V>[], iterable,
        propertyName: propertyName, description: 'Iterable Cleared');