AuthenticationCodeTypeFirebaseAndroid.fromJson constructor

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

Parses a AuthenticationCodeTypeFirebaseAndroid from TDLib JSON.

Implementation

factory AuthenticationCodeTypeFirebaseAndroid.fromJson(
        Map<String, dynamic> json) =>
    AuthenticationCodeTypeFirebaseAndroid(
      nonce: _readString(json['nonce']),
      length: _readInt(json['length']),
    );