BuildContext.fromMap constructor
Implementation
factory BuildContext.fromMap(Map<String, dynamic> map) {
return BuildContext(
Uri.parse(map['rootLibraryFileUri']),
Uri.parse(map['buildDirectoryUri']),
Uri.parse(map['executableUri']),
map['source'],
environment: map['environment'],
forTests: map['forTests'] ?? false,
);
}