$DrainingMachine.fromJson constructor

$DrainingMachine.fromJson(
  1. Map json_
)

Implementation

$DrainingMachine.fromJson(core.Map json_)
    : this(
        nodeIp: json_.containsKey('nodeIp')
            ? json_['nodeIp'] as core.String
            : null,
        podCount: json_.containsKey('podCount')
            ? json_['podCount'] as core.int
            : null,
      );