WelcomeMessageData.fromJson constructor

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

Implementation

factory WelcomeMessageData.fromJson(Map<String, dynamic> json) {
  return WelcomeMessageData(
    type: json['type'] as String,
    data: json['data'] as Map<String, dynamic>,
  );
}