NewsModel.fromRawJson constructor

NewsModel.fromRawJson(
  1. String str
)

Implementation

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