Context.clone constructor

Context.clone(
  1. Context context
)

Implementation

Context.clone(Context context)
    : this(
        prefixes: List<String>.from(context.prefixes),
        suffixes: List<String>.from(context.suffixes),
        prod: context.prod,
        packId: context.packId,
        file: context.file,
        loadFile: context.loadFile,
        mainFile: context.mainFile,
        traits: context._heredityTraits,
        macros: Map.of(context.macros),
        version: context.version,
        path: context.path.copyWith(),
      );