NewsDetailsModel.fromRawJson constructor

NewsDetailsModel.fromRawJson(
  1. String str
)

Implementation

factory NewsDetailsModel.fromRawJson(String str) =>
    NewsDetailsModel.fromJson(json.decode(str));