mirrored_repositories/SMIT-Flutter
/*
Q.20: Create a map named "car" with the following key-value 
pairs: "brand" as "Toyota", "color" as "Red", "isSedan" as true. Write Dart code to check if the car is a sedan and red in color. 
Print "Match" if both conditions are true, otherwise print "No match".
*/
void main() {
  Map<String, dynamic> car = {
    'brand': 'Kia',
    'color': 'Black',
    'isSedan': true,
  };

  bool isSedan = car['isSedan'];
  String color = car['color'];

  if (isSedan && color == 'Black') {
    print("Match");
  } else {
    print("No match");
  }
}
