content: //
  // AUTO-GENERATED FILE, DO NOT MODIFY!
  //
  // @dart=2.12
  
  // ignore_for_file: require_trailing_commas
  // ignore_for_file: unused_element
  // ignore_for_file: unnecessary_this
  // ignore_for_file: always_put_required_named_parameters_first
  // ignore_for_file: constant_identifier_names
  // ignore_for_file: lines_longer_than_80_chars
  // ignore_for_file: avoid_function_literals_in_foreach_calls
  
  import 'package:collection/collection.dart';
  
  const _delimiters = {'csv': ',', 'ssv': ' ', 'tsv': '\t', 'pipes': '|'};
  const _dateEpochMarker = 'epoch';
  final _regList = RegExp(r'^List<(.*)>$');
  final _regSet = RegExp(r'^Set<(.*)>$');
  final _regMap = RegExp(r'^Map<String,(.*)>$');
  
  /// Returns a valid [T] value found at the specified Map [key], null otherwise.
  T? mapValueOfType<T>(dynamic map, String key) {
    final dynamic value = map is Map ? map[key] : null;
    return value is T ? value : null;
  }
  
  /// Returns a valid Map<K, V> found at the specified Map [key], null otherwise.
  Map<K, V>? mapCastOfType<K, V>(dynamic map, String key) {
    final dynamic value = map is Map ? map[key] : null;
    return value is Map ? value.cast<K, V>() : null;
  }
  
  /// Returns a valid [DateTime] found at the specified Map [key], null otherwise.
  DateTime? mapDateTime(dynamic map, String key, [String? pattern]) {
    final dynamic value = map is Map ? map[key] : null;
    if (value != null) {
      int? millis;
      if (value is int) {
        millis = value;
      } else if (value is String) {
        if (pattern == 'epoch') {
          millis = int.tryParse(value);
        } else {
          return DateTime.tryParse(value);
        }
      }
      if (millis != null) {
        return DateTime.fromMillisecondsSinceEpoch(millis, isUtc: true);
      }
    }
    return null;
  }
  
  const deepEquality = DeepCollectionEquality();
  