Bank.fromJson constructor
Implementation
factory Bank.fromJson(Map<String, dynamic> json) => Bank(
id: json["id"],
name: json["name"],
abbreviation: json["abbreviation"],
description: json["description"],
active: json["active"],
createdAt: json["created_at"] == null
? null
: DateTime.parse(json["created_at"]),
updatedAt: json["updated_at"] == null
? null
: DateTime.parse(json["updated_at"]),
);