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