AnnouncementData.fromRawJson constructor Null safety

AnnouncementData.fromRawJson(
  1. String str
)

Implementation

factory AnnouncementData.fromRawJson(String str) => AnnouncementData.fromJson(
      json.decode(str) as Map<String, dynamic>,
    );