TestamentModel.fromJson constructor

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

Implementation

TestamentModel.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
}