Using `isEmpty` and `isNotEmpty`
Changed usages of length == 0
and length > 0
to isEmpty
and isNotEmpty
, respectively, in accordance with hints provided by Pub.
Changed usages of length == 0
and length > 0
to isEmpty
and isNotEmpty
, respectively, in accordance with hints provided by Pub.