subcommandOfJsonKey static method

String? subcommandOfJsonKey(
  1. Object? key
)

The subcommand of a dart_build_<subcommand> JSON key, or null.

Implementation

static String? subcommandOfJsonKey(Object? key) =>
    key is String ? _jsonKeyRegExp.firstMatch(key)?.group(1) : null;