DsRecord.fromJson constructor

DsRecord.fromJson(
  1. Map json_
)

Implementation

DsRecord.fromJson(core.Map json_)
    : this(
        algorithm: json_.containsKey('algorithm')
            ? json_['algorithm'] as core.String
            : null,
        digest: json_.containsKey('digest')
            ? json_['digest'] as core.String
            : null,
        digestType: json_.containsKey('digestType')
            ? json_['digestType'] as core.String
            : null,
        keyTag:
            json_.containsKey('keyTag') ? json_['keyTag'] as core.int : null,
      );