GrantAuthorization constructor

GrantAuthorization({
  1. String? granter,
  2. String? grantee,
  3. Any? authorization,
  4. Timestamp? expiration,
})

Implementation

factory GrantAuthorization({
  $core.String? granter,
  $core.String? grantee,
  $3.Any? authorization,
  $4.Timestamp? expiration,
}) {
  final _result = create();
  if (granter != null) {
    _result.granter = granter;
  }
  if (grantee != null) {
    _result.grantee = grantee;
  }
  if (authorization != null) {
    _result.authorization = authorization;
  }
  if (expiration != null) {
    _result.expiration = expiration;
  }
  return _result;
}