Grant constructor

Grant({
  1. Any? authorization,
  2. Timestamp? expiration,
})

Implementation

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