factory Props.fromMap(Map<String, dynamic> json) => Props( screen1: Screen1.fromMap(json["screen1"]), screen2: Screen2.fromMap(json["screen2"]), );