Skip to content

Commit

Permalink
♻️ rename method's decode input param
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Apr 2, 2024
1 parent 64948af commit bbb5054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/methods.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import 'package:qs_dart/src/models/encode_options.dart';
import 'package:qs_dart/src/qs.dart';

Map decode(
dynamic str, [
dynamic input, [
DecodeOptions options = const DecodeOptions(),
]) =>
QS.decode(str, options);
QS.decode(input, options);

String encode(
Object? object, [
Expand Down

0 comments on commit bbb5054

Please sign in to comment.