mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor: use nullable strings instead of empty in arguments
This commit is contained in:
parent
5401717713
commit
b5561212e0
7 changed files with 57 additions and 62 deletions
|
@ -47,8 +47,8 @@ class Commit {
|
|||
required Signature commiter,
|
||||
required String treeSHA,
|
||||
required List<String> parents,
|
||||
String updateRef = '',
|
||||
String messageEncoding = '',
|
||||
String? updateRef,
|
||||
String? messageEncoding,
|
||||
}) {
|
||||
final tree = Tree.lookup(repo, treeSHA);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue