factory PublicKeyHash({List<int>? hash}) { final _result = create(); if (hash != null) { _result.hash = hash; } return _result; }