HmsSignature.fromMap constructor

HmsSignature.fromMap(
  1. Map map
)

Implementation

factory HmsSignature.fromMap(Map<dynamic, dynamic> map) {
  return HmsSignature(
      algorithm: map['algorithm'],
      algorithmParameters: map['algorithmParameters'] != null
          ? HmsAlgorithmParameters.fromMap(map['algorithmParameters'])
          : null,
      provider: map['provider'] != null
          ? HmsBioAuthnProvider.fromMap(map['provider'])
          : null);
}