isEmpty property

bool get isEmpty

Whether or not this object is empty.

Implementation

bool get isEmpty =>
    identical(type, ResourceType.device) &&
    id.isEmpty &&
    bridge == null &&
    hueNetwork == null &&
    identical(error, ErrorType.unknown) &&
    additionalInfo == null &&
    json == null;