DeletedBankAccount.fromJson constructor

DeletedBankAccount.fromJson(
  1. Object? json
)

Implementation

factory DeletedBankAccount.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return DeletedBankAccount(
    currency: map['currency'] == null ? null : (map['currency'] as String),
    id: (map['id'] as String),
  );
}