ScreencastFrameEvent.fromJson constructor
Implementation
factory ScreencastFrameEvent.fromJson(Map<String, dynamic> json) {
return ScreencastFrameEvent(
data: json['data'] as String,
metadata: ScreencastFrameMetadata.fromJson(
json['metadata'] as Map<String, dynamic>),
sessionId: json['sessionId'] as int,
);
}