AccountsModel.fromJson constructor

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

Implementation

factory AccountsModel.fromJson(Map<String, dynamic> json) {
  return AccountsModel(
    data: AccountsDataModel.fromJson(json['data'] as Map<String, dynamic>),
    links: AccountsLinksModel.fromJson(json['links'] as Map<String, dynamic>),
    meta: AccountsMetaModel.fromJson(json['meta'] as Map<String, dynamic>),
  );
}