MsgGrant constructor

MsgGrant({
  1. String? granter,
  2. String? grantee,
  3. Grant? grant,
})

Implementation

factory MsgGrant({
  $core.String? granter,
  $core.String? grantee,
  $5.Grant? grant,
}) {
  final _result = create();
  if (granter != null) {
    _result.granter = granter;
  }
  if (grantee != null) {
    _result.grantee = grantee;
  }
  if (grant != null) {
    _result.grant = grant;
  }
  return _result;
}