SignBlobRequest.fromJson constructor Null safety

SignBlobRequest.fromJson(
  1. Map _json
)

Implementation

SignBlobRequest.fromJson(core.Map _json)
    : this(
        delegates: _json.containsKey('delegates')
            ? (_json['delegates'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        payload: _json.containsKey('payload')
            ? _json['payload'] as core.String
            : null,
      );