copyWith method

RuntimeOptions copyWith({
  1. String? assetPath,
  2. String? cachePath,
})

A copy of this value with the given members replaced.

Implementation

RuntimeOptions copyWith({String? assetPath, String? cachePath}) =>
    RuntimeOptions(
      assetPath: assetPath ?? this.assetPath,
      cachePath: cachePath ?? this.cachePath,
    );