toJson method

Map<String, dynamic> toJson()

Returns a Map representing this ChatMembersDialed.

Implementation

Map<String, dynamic> toJson() => switch (runtimeType) {
  const (ChatMembersDialedAll) => (this as ChatMembersDialedAll).toJson(),
  const (ChatMembersDialedConcrete) =>
    (this as ChatMembersDialedConcrete).toJson(),
  _ => throw UnimplementedError(runtimeType.toString()),
};