Grant constructor

Grant({
  1. String? granter,
  2. String? grantee,
  3. Any? allowance,
})

Implementation

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