LocalizedMessage constructor

LocalizedMessage({
  1. String? key,
  2. String? localizedMessage,
})

Implementation

factory LocalizedMessage({
  $core.String? key,
  $core.String? localizedMessage,
}) {
  final $result = create();
  if (key != null) {
    $result.key = key;
  }
  if (localizedMessage != null) {
    $result.localizedMessage = localizedMessage;
  }
  return $result;
}