SecretPayload.fromJson constructor

SecretPayload.fromJson(
  1. Map json_
)

Implementation

SecretPayload.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data') ? json_['data'] as core.String : null,
        dataCrc32c: json_.containsKey('dataCrc32c')
            ? json_['dataCrc32c'] as core.String
            : null,
      );