WalletConnectionTable class

Constructors

WalletConnectionTable.new({required String clientPubkey, String? name, required String walletServicePubkey, required List<String> relays, List<String>? clientRelays, required String budgetRenewal, DateTime? budgetRenewedAt, int? maxAmountSat, int? remainingAmountSat, DateTime? expiresAt, List<String>? methods, List<String>? customMethods, List<String>? notifications, List<String>? customNotifications, bool? isolated, bool? isFrozen, List<String>? categories, required DateTime createdAt, String? lud16})
const
WalletConnectionTable.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

budgetRenewal String
final
budgetRenewedAt DateTime?
final
categories List<String>?
final
clientPubkey String
final
clientRelays List<String>?
final
createdAt DateTime
final
customMethods List<String>?
final
customNotifications List<String>?
final
expiresAt DateTime?
final
hashCode int
The hash code for this object.
no setteroverride
isFrozen bool?
final
isolated bool?
final
lud16 String?
final
maxAmountSat int?
final
methods List<String>?
final
name String?
final
notifications List<String>?
final
relays List<String>
final
remainingAmountSat int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
walletServicePubkey String
final

Methods

copyWith({String? clientPubkey, Value<String?> name = const Value.absent(), String? walletServicePubkey, List<String>? relays, Value<List<String>?> clientRelays = const Value.absent(), String? budgetRenewal, Value<DateTime?> budgetRenewedAt = const Value.absent(), Value<int?> maxAmountSat = const Value.absent(), Value<int?> remainingAmountSat = const Value.absent(), Value<DateTime?> expiresAt = const Value.absent(), Value<List<String>?> methods = const Value.absent(), Value<List<String>?> customMethods = const Value.absent(), Value<List<String>?> notifications = const Value.absent(), Value<List<String>?> customNotifications = const Value.absent(), Value<bool?> isolated = const Value.absent(), Value<bool?> isFrozen = const Value.absent(), Value<List<String>?> categories = const Value.absent(), DateTime? createdAt, Value<String?> lud16 = const Value.absent()}) WalletConnectionTable
copyWithCompanion(WalletConnectionsCompanion data) WalletConnectionTable
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toCompanion(bool nullToAbsent) WalletConnectionsCompanion
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override