QueryLockableDurationsResponse.deserialize constructor

QueryLockableDurationsResponse.deserialize(
  1. List<int> bytes
)

Implementation

factory QueryLockableDurationsResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryLockableDurationsResponse(
    lockableDurations:
        decode
            .getListOfBytes(1)
            .map((b) => google_protobuf_duration.Duration.deserialize(b))
            .toList(),
  );
}