isSuccess property

bool get isSuccess

Returns true if current state is success

Implementation

bool get isSuccess => this == SmartState.success;