JusoCommon.fromJson constructor Null safety

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

Implementation

factory JusoCommon.fromJson(Map<String, dynamic> json) {
  final String tcnt = json["totalCount"];
  final String cucnt = json["currentPage"];
  return JusoCommon(
    json["totalCount"],
    json["currentPage"],
    json["countPerPage"],
    json["errorCode"],
    json["errorMessage"],
  );
}