isValid method

  1. @override
bool isValid()
override

Implementation

@override
bool isValid() => key?.isNotEmpty ?? false;