AllowedMsgAllowance constructor

AllowedMsgAllowance({
  1. Any? allowance,
  2. Iterable<String>? allowedMessages,
})

Implementation

factory AllowedMsgAllowance({
  $5.Any? allowance,
  $core.Iterable<$core.String>? allowedMessages,
}) {
  final _result = create();
  if (allowance != null) {
    _result.allowance = allowance;
  }
  if (allowedMessages != null) {
    _result.allowedMessages.addAll(allowedMessages);
  }
  return _result;
}