Hash constructor
Hash({
- HashingAlgorithm? variant,
- String? body,
- Map<
String, String> ? params,
Implementation
factory Hash({
HashingAlgorithm? variant,
$core.String? body,
$core.Map<$core.String, $core.String>? params,
}) {
final _result = create();
if (variant != null) {
_result.variant = variant;
}
if (body != null) {
_result.body = body;
}
if (params != null) {
_result.params.addAll(params);
}
return _result;
}