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;
}