AuthenticationCodeTypeFlashCall.fromJson constructor

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

Parses a AuthenticationCodeTypeFlashCall from TDLib JSON.

Implementation

factory AuthenticationCodeTypeFlashCall.fromJson(Map<String, dynamic> json) =>
    AuthenticationCodeTypeFlashCall(
      pattern: _readString(json['pattern']),
    );