EventGrant constructor

EventGrant({
  1. String? msgTypeUrl,
  2. String? granter,
  3. String? grantee,
})

Implementation

factory EventGrant({
  $core.String? msgTypeUrl,
  $core.String? granter,
  $core.String? grantee,
}) {
  final _result = create();
  if (msgTypeUrl != null) {
    _result.msgTypeUrl = msgTypeUrl;
  }
  if (granter != null) {
    _result.granter = granter;
  }
  if (grantee != null) {
    _result.grantee = grantee;
  }
  return _result;
}