AccountData.fromJson constructor

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

Implementation

factory AccountData.fromJson(Map<String, dynamic> json) {
  return AccountData(
    firstName: json['first_name'],
    lastName: json['last_name'],
    routingNumber: json['routing_number'],
    last4: json['last_4'],
  );
}