Wallet constructor

Wallet(String name, { String version: '1.0', String createTime, ScryptParams scrypt })

Implementation

Wallet(this.name, {this.version = '1.0', this.createTime, this.scrypt}) {
  createTime = createTime ?? DateTime.now().toIso8601String();
  scrypt = scrypt ?? ScryptParams.defaultParams;
}