PubCredModel.fromJson constructor

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

Implementation

factory PubCredModel.fromJson(Map<String, dynamic> json) => PubCredModel(
      type: json["type"],
      alg: int.parse(json["alg"].toString()),
    );