WalletUpgrade constructor
WalletUpgrade({})
Creates a new WalletUpgrade instance.
Parameters:
version
– The wallet upgrade version.contractAddress
– The contract address for the wallet upgrade.paddedVersion
– The padded version of the wallet upgrade.disabledModules
– A map of disabled modules in the wallet upgrade.enabledModules
– A map of enabled modules in the wallet upgrade.createdAt
– The creation timestamp of the wallet upgrade.updatedAt
– The last update timestamp of the wallet upgrade.id
– The unique identifier of the wallet upgrade.
Implementation
factory WalletUpgrade({
String? version,
required String contractAddress,
String? paddedVersion,
required Map<String, String> disabledModules,
required Map<String, String> enabledModules,
required DateTime createdAt,
required DateTime updatedAt,
@JsonKey(name: '_id') required String id,
}) = _WalletUpgrade;