FrameDetachedEvent.fromJson constructor

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

Implementation

factory FrameDetachedEvent.fromJson(Map<String, dynamic> json) {
  return FrameDetachedEvent(
    frameId: FrameId.fromJson(json['frameId'] as String),
    reason: FrameDetachedEventReason.fromJson(json['reason'] as String),
  );
}