mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: use conts for constructors
This commit is contained in:
parent
e0e16aea30
commit
7187d890d6
17 changed files with 39 additions and 69 deletions
|
@ -8,7 +8,7 @@ import 'git_types.dart';
|
|||
class Refspec {
|
||||
/// Initializes a new instance of the [Refspec] class
|
||||
/// from provided pointer to refspec object in memory.
|
||||
Refspec(this._refspecPointer);
|
||||
const Refspec(this._refspecPointer);
|
||||
|
||||
/// Pointer to memory address for allocated refspec object.
|
||||
final Pointer<git_refspec> _refspecPointer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue