factory FrameMessage.fromJson(Map<String, dynamic> json) => FrameMessage( data: MessageData.fromJson(json['data']), origin: json['origin'], );