fromJson method Null safety

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