GetBanksResponse.fromJson constructor
Implementation
factory GetBanksResponse.fromJson(Map<String, dynamic> json) {
return GetBanksResponse(
success: json['success'],
titleResponse: json['title_response'],
textResponse: json['text_response'],
lastAction: json['last_action'],
data: json['data'] != null
? List<Bank>.from(json['data'].map((x) => Bank.fromJson(x)))
: null,
);
}