CallSet.fromMap constructor
Implementation
CallSet.fromMap(Map<String, dynamic> map) {
if (map.containsKey('function_name') && (map['function_name'] != null)) {
_function_name = map['function_name'];
} else {
throw ('Wrong map data');
}
if (map.containsKey('header')) {
if (map['header'] != null) {
_header = FunctionHeader.fromMap(map['header']);
}
}
if (map.containsKey('input')) {
_input = map['input'];
}
}