PageViewEvent.fromJson constructor

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

Implementation

PageViewEvent.fromJson(Map<String, dynamic> json) {
  if (json['messageBody'] != null) {
    messageBody = <PageViewMessageBody>[];
    json['messageBody'].forEach((v) {
      messageBody!.add(new PageViewMessageBody.fromJson(v));
    });
  }
}