LoginURL.fromJson constructor

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

Creates a LoginURL object from JSON object

Implementation

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