optionalBool static method

bool? optionalBool(
  1. String? value
)

Implementation

static bool? optionalBool(String? value) =>
    value != null ? stringToBool(value) : null;