BankConnectionsResourceLinkAccountSessionFilters.fromJson constructor

BankConnectionsResourceLinkAccountSessionFilters.fromJson(
  1. Object? json
)

Implementation

factory BankConnectionsResourceLinkAccountSessionFilters.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return BankConnectionsResourceLinkAccountSessionFilters(
      countries: map['countries'] == null
          ? null
          : (map['countries'] as List<Object?>)
              .map((el) => (el as String))
              .toList());
}