Skip to content

Instantly share code, notes, and snippets.

@shannon-rodricks
Last active February 15, 2023 06:13
Show Gist options
  • Save shannon-rodricks/b0f203984cbfd07cd842459ec0fb9d41 to your computer and use it in GitHub Desktop.
Save shannon-rodricks/b0f203984cbfd07cd842459ec0fb9d41 to your computer and use it in GitHub Desktop.
Mock movie list
class MovieModel {
final String id, name;
final DateTime? releaseDate;
final String contentRating, duration, description, posterUrl;
final List<String> formats, languages, genres, cast;
final String? rating, likes;
final String? urlBook;
MovieModel({
required this.id,
required this.name,
this.releaseDate,
required this.duration,
required this.contentRating,
required this.description,
required this.posterUrl,
required this.formats,
required this.languages,
required this.genres,
required this.cast,
this.rating,
this.likes,
this.urlBook,
});
}
final List<MovieModel> movies = [
MovieModel(
id: "ant-man-and-the-wasp-quantumania",
name: "Ant-Man and the Wasp: Quantumania",
duration: "2h15m",
contentRating: "UA",
releaseDate: DateTime(2023, 02, 17),
description:
"Ant-Man and the Wasp: Quantumania is the third installment in the Ant-Man film series, following the events of Avengers: Endgame. The film follows the adventures of Scott Lang, Hope van Dyne, and Hank Pym as they explore the quantum realm and face new threats, including the villainous Kang the Conqueror. \n\nThe film is directed by Peyton Reed and stars Paul Rudd, Evangeline Lilly, Michael Douglas, Michelle Pfeiffer, Jonathan Majors, and Kathryn Newton.",
posterUrl:
"https://www.themoviedb.org/t/p/w600_and_h900_bestv2/ngl2FKBlU4fhbdsrtdom9LVLBXw.jpg",
formats: ["IMAX", "3D", "2D"],
languages: ["English", "Hindi", "Tamil", "Telugu", "Malayalam", "Kannada"],
genres: ["Science Fiction", "Action", "Adventure"],
rating: "N/A",
likes: "12k",
urlBook: "/book/movie/ant-man-and-the-wasp-quantumania",
cast: [
"Paul Rudd",
"Evangeline Lilly",
"Michael Douglas",
"Michelle Pfeiffer",
"Jonathan Majors",
"Kathryn Newton",
"Michael Peña",
"David Dastmalchian",
"Tip \"T.I.\" Harris",
"Bobby Cannavale",
"Judy Greer",
"Abby Ryder Fortson",
],
),
MovieModel(
id: "avatar-way-of-water",
name: "Avatar: Way of Water",
duration: "2h30m",
contentRating: "U",
releaseDate: DateTime(2022, 12, 16),
description:
"Avatar: Way of Water is the sequel to the 2009 science fiction film Avatar. Set on the fictional planet of Pandora, the story follows the adventures of Jake Sully and Neytiri as they explore the oceans of Pandora and the indigenous marine life forms that inhabit them. \n\nThe film is directed by James Cameron and stars Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen Lang, and Kate Winslet.",
posterUrl:
"https://www.themoviedb.org/t/p/w600_and_h900_bestv2/t6HIqrRAclMCA60NsSmeqe9RmNV.jpg",
formats: ["IMAX", "3D", "2D"],
languages: ["English", "Hindi", "Tamil", "Telugu", "Malayalam", "Kannada"],
genres: ["Science Fiction", "Action", "Adventure"],
rating: "N/A",
likes: "8k",
urlBook: "/book/movie/avatar-way-of-water",
cast: [
"Sam Worthington",
"Zoe Saldana",
"Sigourney Weaver",
"Stephen Lang",
"Kate Winslet",
"Cliff Curtis",
"Edie Falco",
"Brendan Cowell",
"Michelle Yeoh",
"Jemaine Clement",
"Oona Chaplin",
],
),
MovieModel(
id: "dune",
name: "Dune",
duration: "2h35m",
contentRating: "UA",
releaseDate: DateTime(2021, 10, 22),
description:
"A mythic and emotionally charged hero's journey, Dune tells the story of Paul Atreides, a brilliant and gifted young man born into a great destiny beyond his understanding, who must travel to the most dangerous planet in the universe to ensure the future of his family and his people. As malevolent forces explode into conflict over the planet's exclusive supply of the most precious resource in existence-a commodity capable of unlocking humanity's greatest potential-only those who can conquer their fear will survive.",
posterUrl:
"https://www.themoviedb.org/t/p/w600_and_h900_bestv2/d5NXSklXo0qyIYkgV94XAgMIckC.jpg",
formats: ["IMAX", "3D", "2D"],
languages: ["English", "Hindi", "Tamil", "Telugu", "Malayalam", "Kannada"],
genres: ["Science Fiction", "Action", "Adventure"],
cast: [
"Timothée Chalamet",
"Rebecca Ferguson",
"Oscar Isaac",
"Josh Brolin",
"Stellan Skarsgård",
"Dave Bautista",
"Zendaya",
"David Dastmalchian",
"Stephen McKinley Henderson",
"Chen Chang",
"Sharon Duncan-Brewster",
"Charlotte Rampling",
"Jason Momoa",
],
rating: "8.1/10",
urlBook: "/book/movie/dune",
),
MovieModel(
id: "the-dark-knight",
name: "The Dark Knight",
duration: "2h32m",
contentRating: "UA",
description:
"The Dark Knight is a superhero film directed by Christopher Nolan and starring Christian Bale, Heath Ledger, Aaron Eckhart, and Michael Caine. The film follows the story of Batman, who sets out to stop the Joker from wreaking havoc and causing chaos in Gotham City. \n\nThe film is praised for its gripping storyline, dark atmosphere, stunning cinematography, and incredible performances, especially by Heath Ledger as the Joker. It was released in 2008 and has since become a cult classic and one of the most highly acclaimed superhero films of all time.",
posterUrl: "https://www.themoviedb.org/t/p/w600_and_h900_bestv2/qJ2tW6WMUDux911r6m7haRef0WH.jpg",
formats: ["IMAX", "2D"],
languages: ["English", "Hindi", "Tamil", "Telugu", "Malayalam", "Kannada"],
genres: ["Superhero", "Action", "Crime"],
rating: "9/10",
urlBook: "/book/movie/the-dark-knight",
cast: [
"Christian Bale",
"Heath Ledger",
"Aaron Eckhart",
"Michael Caine",
"Gary Oldman",
"Maggie Gyllenhaal",
"Morgan Freeman",
"Eric Roberts",
"Cillian Murphy",
"Anthony Michael Hall",
"Nestor Carbonell",
],
releaseDate: DateTime(2008, 07, 18),
),
MovieModel(
id: "the-voyage-of-doctor-dolittle",
name: "The Voyage of Doctor Dolittle",
duration: "1h41m",
contentRating: "U",
description:
"The Voyage of Doctor Dolittle is a fantasy adventure film directed by Stephen Gaghan and starring Robert Downey Jr., Antonio Banderas, and Michael Sheen. The film follows the story of Dr. John Dolittle, a doctor who can talk to animals and goes on a journey to find a cure for the Queen of England. \n\nThe film features a star-studded cast, stunning visual effects, and plenty of humor and heart. It was released in January 2022 and has received critical acclaim for its family-friendly entertainment.",
posterUrl:
"https://www.themoviedb.org/t/p/w600_and_h900_bestv2/uoplwswBDy7gsOyrbGuKyPFoPCs.jpg",
formats: ["2D"],
languages: ["English", "Hindi", "Tamil", "Telugu"],
genres: ["Fantasy", "Adventure", "Comedy"],
rating: "7.3/10",
likes: "6.2k",
urlBook: "/book/movie/the-voyage-of-doctor-dolittle",
cast: [
"Robert Downey Jr.",
"Antonio Banderas",
"Michael Sheen",
"Emma Thompson",
"Rami Malek",
"John Cena",
"Kumail Nanjiani",
"Octavia Spencer",
"Tom Holland",
"Ralph Fiennes",
"Selena Gomez",
],
releaseDate: DateTime(2022, 01, 07),
),
MovieModel(
id: "black-panther-wakanda-forever",
name: "Black Panther: Wakanda Forever",
duration: "2h",
contentRating: "UA",
description:
"Black Panther: Wakanda Forever is a superhero film directed by Ryan Coogler and starring Letitia Wright, Lupita Nyong'o, and Danai Gurira. The film is a sequel to the critically acclaimed Black Panther and continues the story of the African kingdom of Wakanda. \n\nThe film features an ensemble cast, impressive action sequences, and a heartfelt tribute to Chadwick Boseman, who played the titular character in the original film. It is set to release in November 2022 and is highly anticipated by fans and critics alike.",
posterUrl:
"https://www.themoviedb.org/t/p/w600_and_h900_bestv2/sv1xJUazXeYqALzczSZ3O6nkH75.jpg",
formats: ["IMAX", "2D"],
languages: ["English", "Hindi", "Tamil", "Telugu"],
genres: ["Superhero", "Action", "Adventure"],
rating: null,
likes: null,
urlBook: null,
cast: [
"Letitia Wright",
"Lupita Nyong'o",
"Danai Gurira",
"Winston Duke",
"Angela Bassett",
"Martin Freeman",
"Tenoch Huerta",
"Dominique Thorne",
"Dani Gurira",
"Michaela Coel",
"Florence Kasumba",
"John Kani",
"Lupita Nyong'o",
],
releaseDate: DateTime(2022, 11, 10),
),
MovieModel(
id: 'pathaan',
name: 'Pathaan',
duration: '2h 35m',
contentRating: 'UA',
description:
'Pathaan is an upcoming Indian Hindi-language action-thriller film directed by Siddharth Anand and produced by Yash Raj Films. The film stars Shah Rukh Khan, Deepika Padukone, and John Abraham in lead roles, with Salman Khan in a special appearance. It is scheduled to be released on 7 October 2022 on the occasion of Dussehra.',
posterUrl:
'https://www.themoviedb.org/t/p/w600_and_h900_bestv2/kGgB1AiOogVfAmMokukr9kIJZCJ.jpg',
formats: ['3D', 'IMAX 3D', '4DX'],
languages: ['Hindi', 'Tamil', 'Telugu'],
genres: ['Action', 'Thriller'],
cast: ['Shah Rukh Khan', 'Deepika Padukone', 'John Abraham', 'Salman Khan', 'Dimple Kapadia'],
rating: '8.2/10',
likes: '28K',
urlBook: '/book/movie/pathaan',
releaseDate: DateTime(2022, 10, 7),
),
MovieModel(
id: 'spiderman-no-way-home',
name: 'Spider-Man: No Way Home',
duration: '2h 28m',
contentRating: 'PG-13',
description:
'Spider-Man: No Way Home is an upcoming American superhero film based on the Marvel Comics character Spider-Man, produced by Columbia Pictures and Marvel Studios, and distributed by Sony Pictures Releasing. It is the sequel to Spider-Man: Far From Home (2019) and the 27th film in the Marvel Cinematic Universe (MCU). The film is directed by Jon Watts, written by Chris McKenna and Erik Sommers, and stars Tom Holland as Peter Parker / Spider-Man, alongside Zendaya, Jacob Batalon, Marisa Tomei, Alfred Molina, Jamie Foxx, and Benedict Cumberbatch. In the film, Parker seeks help from Doctor Strange to make the world forget that he is Spider-Man, but the spell goes wrong, unleashing multiverse chaos.',
posterUrl:
'https://www.themoviedb.org/t/p/w600_and_h900_bestv2/uJYYizSuA9Y3DCs0qS4qWvHfZg4.jpg',
formats: ['3D', 'IMAX'],
languages: ['English'],
genres: ['Action', 'Adventure', 'Sci-Fi'],
cast: [
'Tom Holland',
'Zendaya',
'Jacob Batalon',
'Marisa Tomei',
'Alfred Molina',
'Jamie Foxx',
'Benedict Cumberbatch'
],
rating: '8.8/10',
likes: '45K',
urlBook: '/book/movie/spiderman-no-way-home',
releaseDate: DateTime(2021, 12, 17),
),
MovieModel(
id: 'sooryavanshi',
name: 'Sooryavanshi',
duration: '2h 30m',
contentRating: 'U/A',
description:
'Sooryavanshi is an upcoming Indian action film directed by Rohit Shetty and written by Sajid-Farhad. The film is produced by Rohit Shetty and Karan Johar under their respective banners Rohit Shetty Picturez and Dharma Productions in association with Reliance Entertainment and Cape of Good Films. It stars Akshay Kumar as Veer Sooryavanshi, a character introduced in the 2018 film Simmba, with Katrina Kaif as his love interest. The film follows DCP Veer Sooryavanshi, the chief of the Mumbai Anti-Terrorism Squad, as he works with his team to stop a group of terrorists who are planning a deadly attack in the city. The film also features a special appearance by Ajay Devgn as Bajirao Singham and Ranveer Singh as Sangram "Simmba" Bhalerao, with a cameo appearance by Jackie Shroff.',
posterUrl:
'https://www.themoviedb.org/t/p/w600_and_h900_bestv2/8p3mhjyLjHKtaAv8tFKfvEBtir0.jpg',
formats: ['2D', '3D', 'IMAX'],
languages: ['Hindi'],
genres: ['Action', 'Drama'],
cast: ['Akshay Kumar', 'Katrina Kaif', 'Ajay Devgn', 'Ranveer Singh', 'Jackie Shroff'],
rating: '7.5/10',
likes: '12K',
urlBook: '/book/movie/sooryavanshi',
releaseDate: DateTime(2022, 3, 24),
),
MovieModel(
id: 'tenet',
name: 'Tenet',
duration: '2h30m',
contentRating: 'UA',
description:
'Armed with only one word, Tenet, and fighting for the survival of the entire world, a Protagonist journeys through a twilight world of international espionage on a mission that will unfold in something beyond real time.',
posterUrl:
'https://www.themoviedb.org/t/p/w600_and_h900_bestv2/oRkLA2EkXaRLmK63BkvK74G8tC4.jpg',
formats: ['IMAX', 'Dolby Cinema', '3D', '2D'],
languages: ['English', 'Hindi', 'Tamil', 'Telugu'],
genres: ['Action', 'Thriller', 'Science Fiction'],
rating: '7.4/10',
likes: '200K',
urlBook: '/book/movie/tenet',
cast: [
'John David Washington',
'Robert Pattinson',
'Elizabeth Debicki',
'Dimple Kapadia',
'Michael Caine',
'Kenneth Branagh',
],
releaseDate: DateTime(2020, 12, 4),
)
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment