ComputeMessageStatsRequest.fromJson constructor

ComputeMessageStatsRequest.fromJson(
  1. Map json_
)

Implementation

ComputeMessageStatsRequest.fromJson(core.Map json_)
    : this(
        endCursor: json_.containsKey('endCursor')
            ? Cursor.fromJson(
                json_['endCursor'] as core.Map<core.String, core.dynamic>)
            : null,
        partition: json_.containsKey('partition')
            ? json_['partition'] as core.String
            : null,
        startCursor: json_.containsKey('startCursor')
            ? Cursor.fromJson(
                json_['startCursor'] as core.Map<core.String, core.dynamic>)
            : null,
      );