CommandMessageModel constructor

CommandMessageModel({
  1. String? type,
  2. String? message,
})

Implementation

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