DtlsParameters.fromMap constructor
DtlsParameters.fromMap(
- Map data
Implementation
DtlsParameters.fromMap(Map data)
: role = DtlsRoleExtension.fromString(data['role']),
fingerprints = List<DtlsFingerprint>.from((data['fingerprints'] ?? [])
.map((fingerP) => DtlsFingerprint.fromMap(fingerP))
.toList());