ClientCondtitionalAuthContext.fromMap constructor

ClientCondtitionalAuthContext.fromMap(
  1. Map map
)

ClientCondtitionalAuthContext.fromMap(Map map) is a constructor that takes a Map as an argument and creates a new instance of ClientCondtitionalAuthContext using the values from the Map.

Implementation

ClientCondtitionalAuthContext.fromMap(Map map)
    : this(
          agreements: map['agreements'] != null
              ? ClientAgreements.fromMap(map['agreements'])
              : null,
          attributes: map['attributes'] != null
              ? Map<String, Object>.from(map['attributes'])
              : null);