copyWith method

AppConfigState copyWith({
  1. bool? enabled,
  2. Map<String, dynamic>? config,
})

Implementation

AppConfigState copyWith({
  bool? enabled,
  Map<String, dynamic>? config,
}) {
  return AppConfigState(
    $enabled: enabled ?? $enabled,
    $config: config ?? $config,
  );
}