copyWith method

LocalizableString copyWith({
  1. Map<String, String>? strings,
})

Returns a copy of this object, optionally replacing the internal map.

Implementation

LocalizableString copyWith({Map<String, String>? strings}) {
  return LocalizableString(strings ?? _strings);
}