AuthenticationCodeTypeCall.fromJson constructor

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

Parses a AuthenticationCodeTypeCall from TDLib JSON.

Implementation

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