HotTablet.fromJson constructor

HotTablet.fromJson(
  1. Map json_
)

Implementation

HotTablet.fromJson(core.Map json_)
    : this(
        endKey: json_.containsKey('endKey')
            ? json_['endKey'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        nodeCpuUsagePercent: json_.containsKey('nodeCpuUsagePercent')
            ? (json_['nodeCpuUsagePercent'] as core.num).toDouble()
            : null,
        startKey: json_.containsKey('startKey')
            ? json_['startKey'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        tableName: json_.containsKey('tableName')
            ? json_['tableName'] as core.String
            : null,
      );