String jsonFile(String name, {String? path}) { final resource = '$name${FileExtensions.JSON}'; if (path != null && path.isNotEmpty) { return path + resource; } return resource; }