style: use fat arrow for single-line methods

This commit is contained in:
Aleksey Kulikov 2021-09-02 14:17:44 +03:00
parent 84ee4be945
commit 5675f9265c
9 changed files with 9 additions and 27 deletions

View file

@ -238,7 +238,5 @@ class Reference {
int get hashCode => _refPointer.address.hashCode;
/// Releases memory allocated for reference object.
void free() {
bindings.free(_refPointer);
}
void free() => bindings.free(_refPointer);
}