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
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