ListMyUserGrantsResponse constructor Null safety

ListMyUserGrantsResponse(
  1. {ListDetails? details,
  2. Iterable<UserGrant>? result}
)

Implementation

factory ListMyUserGrantsResponse({
  $12.ListDetails? details,
  $core.Iterable<UserGrant>? result,
}) {
  final _result = create();
  if (details != null) {
    _result.details = details;
  }
  if (result != null) {
    _result.result.addAll(result);
  }
  return _result;
}