AnnouncementLoginData.fromJson constructor Null safety

AnnouncementLoginData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AnnouncementLoginData.fromJson(Map<String, dynamic> json) =>
    AnnouncementLoginData(
      key: json['key'] as String,
    );