stringOrMappedToBool static method

bool stringOrMappedToBool(
  1. dynamic value
)

Implementation

static bool stringOrMappedToBool(dynamic value) => value.runtimeType == String
    ? stringToBool(value as String)
    : mappedToBool(value as Map<String, dynamic>);