Grant constructor

Grant({
  1. GrantType? grantType,
  2. String? name,
})

Implementation

factory Grant({
  GrantType? grantType,
  $core.String? name,
}) {
  final _result = create();
  if (grantType != null) {
    _result.grantType = grantType;
  }
  if (name != null) {
    _result.name = name;
  }
  return _result;
}