create method

void create()

Implementation

void create() {
  var profileJson = '''
{
"gameMainPath": "${Directory.current.path}/$name",
"version": "1.0.0",
"title": "Brick Game",
"developer": "XCream",
"description": "A simple 2d game where the player controls a paddle to bounce a ball and break bricks.",
"genres": ["Action"],
"coverPath": "${Directory.current.path}/$name/assets/images/cover.png",
"esrb": "Everyone",
"characters": ["Player"]
}

''';
  var profileFile = File('$name/profile/profile.json');
  profileFile.createSync(recursive: true);
  profileFile.writeAsStringSync(profileJson);
}