feat: add more toString overrides for debugging

This commit is contained in:
Aleksey Kulikov 2021-10-13 19:23:34 +03:00
parent beed516c89
commit 9f346c99f7
26 changed files with 175 additions and 18 deletions

View file

@ -109,5 +109,8 @@ class Commit {
void free() => bindings.free(_commitPointer);
@override
String toString() => 'Commit{oid: $oid}';
String toString() {
return 'Commit{oid: $oid, message: $message, messageEncoding: $messageEncoding, '
'time: $time, committer: $committer, author: $author}';
}
}