isEmpty property

bool get isEmpty

Whether or not this Line is empty.

Implementation

bool get isEmpty =>
    name.isEmpty &&
    startStationCode.isEmpty &&
    endStationCode.isEmpty &&
    internalDestination1.isEmpty &&
    internalDestination2.isEmpty &&
    lineCode.isEmpty;