ShareRequest constructor
ShareRequest({})
Implementation
factory ShareRequest({
$core.String? filePath,
$core.int? expire,
$core.Iterable<$core.int>? to,
$core.String? password,
$core.int? accessCount,
}) {
final _result = create();
if (filePath != null) {
_result.filePath = filePath;
}
if (expire != null) {
_result.expire = expire;
}
if (to != null) {
_result.to.addAll(to);
}
if (password != null) {
_result.password = password;
}
if (accessCount != null) {
_result.accessCount = accessCount;
}
return _result;
}