fromJson static method

BotSettingSupportsGuestQueries? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static BotSettingSupportsGuestQueries? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return BotSettingSupportsGuestQueries(
    supportsGuestQueries: (json['supports_guest_queries'] as bool?) ?? false,
  );
}