DescriptorOperationReceivedEvent.fromJson constructor
Implementation
factory DescriptorOperationReceivedEvent.fromJson(Map<String, dynamic> json) {
return DescriptorOperationReceivedEvent(
descriptorId: json['descriptorId'] as String,
type: DescriptorOperationType.fromJson(json['type'] as String),
data: json.containsKey('data') ? json['data'] as String : null,
);
}