LocalizedMessage constructor

LocalizedMessage({
  1. String? locale,
  2. String? message,
})

Implementation

factory LocalizedMessage({
  $core.String? locale,
  $core.String? message,
}) {
  final _result = create();
  if (locale != null) {
    _result.locale = locale;
  }
  if (message != null) {
    _result.message = message;
  }
  return _result;
}