isEmpty property

bool get isEmpty

Returns true if this Json5 object is empty.

Implementation

bool get isEmpty => _ephemeralKeys.isEmpty ? _keyToValueMap.isEmpty : keys.isEmpty;