isTrue function

bool isTrue(
  1. bool? data
)

Implementation

bool isTrue(bool? data) => data == true;