ConnectionDraining.fromJson constructor

ConnectionDraining.fromJson(
  1. Map json_
)

Implementation

ConnectionDraining.fromJson(core.Map json_)
    : this(
        drainingTimeoutSec: json_.containsKey('drainingTimeoutSec')
            ? json_['drainingTimeoutSec'] as core.int
            : null,
      );