DtlsParameters.fromMap constructor

DtlsParameters.fromMap(
  1. Map data
)

Implementation

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