Notice constructor

Notice({
  1. String? topic,
  2. String? type,
  3. String? content,
})

Implementation

factory Notice({
  $core.String? topic,
  $core.String? type,
  $core.String? content,
}) {
  final _result = create();
  if (topic != null) {
    _result.topic = topic;
  }
  if (type != null) {
    _result.type = type;
  }
  if (content != null) {
    _result.content = content;
  }
  return _result;
}