topicsFromJson function

List<Topics> topicsFromJson(
  1. String str
)

Implementation

List<Topics> topicsFromJson(String str) =>
    List<Topics>.from(json.decode(str).map((x) => Topics.fromJson(x)));