feat: override toString with relevant information for debugging

This commit is contained in:
Aleksey Kulikov 2021-09-10 12:03:37 +03:00
parent 188cdc4354
commit 458c0bdc71
6 changed files with 18 additions and 2 deletions

View file

@ -103,4 +103,7 @@ class Commit {
/// Releases memory allocated for commit object.
void free() => bindings.free(_commitPointer);
@override
String toString() => 'Commit{id: $id}';
}