NewsDetailsModel.fromJson constructor
Implementation
factory NewsDetailsModel.fromJson(Map<String, dynamic> json) =>
NewsDetailsModel(
statusCode: json["statusCode"],
status: json["status"],
message: json["message"],
data: json["data"] == null
? null
: NewsDetailsData.fromJson(json["data"]),
);