handle method

  1. @override
bool? handle(
  1. dynamic value, {
  2. bool? defaultValue,
})
override

Implementation

@override
bool? handle(value, {bool? defaultValue}) {
  return [true, 'true', 1, '1'].contains(value);
}