AuthenticationCodeTypeMissedCall.fromJson constructor

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

Parses a AuthenticationCodeTypeMissedCall from TDLib JSON.

Implementation

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