Dart Variables

Dart is an infer type language and the Dart Complier automatically knows the type of data based on the assigned to the variableThe syntax is given below.Syntax -var <variable_name> =…