TokenOwnerInfo.fromJson constructor

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

Implementation

TokenOwnerInfo.fromJson(Map<String, Object?> json)
    : deviceId = ((v) => v != null ? v as String : null)(json['device_id']),
      isGuest = ((v) => v != null ? v as bool : null)(json['is_guest']),
      userId = json['user_id'] as String;