ExecutionContextDescription.fromJson constructor

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

Implementation

factory ExecutionContextDescription.fromJson(Map<String, dynamic> json) {
  return ExecutionContextDescription(
    id: ExecutionContextId.fromJson(json['id'] as int),
    origin: json['origin'] as String,
    name: json['name'] as String,
    uniqueId: json['uniqueId'] as String,
    auxData: json.containsKey('auxData')
        ? json['auxData'] as Map<String, dynamic>
        : null,
  );
}