fromJson static method

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

Creates a object from a json

Implementation

static LoginUrl fromJson(Map<String, dynamic> json) {
  return LoginUrl(
    url: json['url']!,
    forwardText: json['forward_text'],
    botUsername: json['bot_username'],
    requestWriteAccess: json['request_write_access'],
  );
}