BotInfo.parseJson constructor

BotInfo.parseJson(
  1. Map<String, dynamic> json
)

Implementation

BotInfo.parseJson(
    Map<String, dynamic> json
):
  bumps = json['bumps'],
  added = json['added'],
  permissions = json['permissions'],
  prefix = json['prefix'],
  tags = [for (final tag in json['tags']) tag],
  developers = [for (final dev in json['developers']) dev],
  links = Links.parseJson(json['links']),
  library = json['library'],
  shortDescription = json['shortDescription'],
  longDescription = json['longDescription'],
  badge = json['badge'],
  stats = BotStats.parseJson(json['stats']),
  status = json['status'];