TDeleteWalletAccountsBody.fromJson constructor

TDeleteWalletAccountsBody.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TDeleteWalletAccountsBody.fromJson(Map<String, dynamic> json) {
  final _timestampMs = json['timestampMs'] as String?;
  final _organizationId = json['organizationId'] as String?;
  final _walletAccountIds = (json['walletAccountIds'] as List).map((e) => e as String).toList();
  final _deleteWithoutExport = json['deleteWithoutExport'] as bool?;
  return TDeleteWalletAccountsBody(
    timestampMs: _timestampMs,
    organizationId: _organizationId,
    walletAccountIds: _walletAccountIds,
    deleteWithoutExport: _deleteWithoutExport,
  );
}