KeyBackupData.fromJson constructor

KeyBackupData.fromJson(
  1. Map<String, Object?> json
)

Implementation

KeyBackupData.fromJson(Map<String, Object?> json)
    : firstMessageIndex = json['first_message_index'] as int,
      forwardedCount = json['forwarded_count'] as int,
      isVerified = json['is_verified'] as bool,
      sessionData = json['session_data'] as Map<String, Object?>;