Wallet constructor

Wallet({
  1. required String id,
  2. String walletType = 'lbwallet',
  3. required String ownerId,
  4. String? ownerType,
  5. required String balance,
  6. required DateTime balanceDate,
  7. DateTime? createdAt,
  8. DateTime? updatedAt,
  9. DateTime? deletedAt,
})

Returns a new Wallet instance.

Implementation

Wallet({
  required this.id,
  this.walletType = 'lbwallet',
  required this.ownerId,
  this.ownerType,
  required this.balance,
  required this.balanceDate,
  this.createdAt,
  this.updatedAt,
  this.deletedAt,
});