AddressObject constructor

AddressObject({
  1. required String hash,
  2. String? custom,
  3. required String publicKey,
  4. required String privateKey,
  5. double balance = 0,
  6. int score = 0,
  7. int lastOP = 0,
  8. bool isLocked = false,
  9. double incoming = 0,
  10. double outgoing = 0,
})

Constructor for creating an AddressObject.

Implementation

AddressObject({
  required this.hash,
  this.custom,
  required this.publicKey,
  required this.privateKey,
  this.balance = 0,
  this.score = 0,
  this.lastOP = 0,
  this.isLocked = false,
  this.incoming = 0,
  this.outgoing = 0,
});