copyWith method

Locale copyWith({
  1. String? locale,
})

Implementation

Locale copyWith({String? locale}) {
  return Locale(
    locale: locale ?? this.locale,
  );
}