GetScriptSourceResult.fromJson constructor

GetScriptSourceResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetScriptSourceResult.fromJson(Map<String, dynamic> json) {
  return GetScriptSourceResult(
    scriptSource: json['scriptSource'] as String,
    bytecode:
        json.containsKey('bytecode') ? json['bytecode'] as String : null,
  );
}