fromFilePath static method
get contract from json file located at path
Implementation
static Contract fromFilePath(String path) {
//get file from path
File data = File(path);
//read file content as string
String jsonString = data.readAsStringSync();
return Contract(json.decode(jsonString));
}