isData property Null safety

bool isData

Implementation

bool get isData => maybeWhen(orElse: () => false, data: (_) => true);