EventType constructor

EventType({
  1. String? type,
  2. LocalizedMessage? localized,
})

Implementation

factory EventType({
  $core.String? type,
  $9.LocalizedMessage? localized,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (localized != null) {
    $result.localized = localized;
  }
  return $result;
}