ChatMemberStatusCreator.fromJson constructor

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

Parse from a json

Implementation

factory ChatMemberStatusCreator.fromJson(Map<String, dynamic> json) => ChatMemberStatusCreator(
  customTitle: json['custom_title'],
  isAnonymous: json['is_anonymous'],
  isMember: json['is_member'],
);