stringOrMappedToBool static method

bool stringOrMappedToBool(
  1. dynamic value
)

Implementation

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