current property

String get current

Implementation

String get current {
  if (kDebugMode) {
    final platformDebug = switch (defaultTargetPlatform) {
      TargetPlatform.android => debugAndroid,
      TargetPlatform.iOS => debugIos,
      _ => '',
    };
    if (platformDebug.isNotEmpty) return platformDebug;
    if (debug.isNotEmpty) return debug;
  }

  return switch (defaultTargetPlatform) {
    TargetPlatform.android => android,
    TargetPlatform.iOS => ios,
    _ => '',
  };
}