AuthenticationCodeTypeFirebaseIos.fromJson constructor

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

Parses a AuthenticationCodeTypeFirebaseIos from TDLib JSON.

Implementation

factory AuthenticationCodeTypeFirebaseIos.fromJson(
        Map<String, dynamic> json) =>
    AuthenticationCodeTypeFirebaseIos(
      receipt: _readString(json['receipt']),
      pushTimeout: _readInt(json['push_timeout']),
      length: _readInt(json['length']),
    );