TriggererResource.fromJson constructor

TriggererResource.fromJson(
  1. Map json_
)

Implementation

TriggererResource.fromJson(core.Map json_)
    : this(
        count: json_.containsKey('count') ? json_['count'] as core.int : null,
        cpu: json_.containsKey('cpu')
            ? (json_['cpu'] as core.num).toDouble()
            : null,
        memoryGb: json_.containsKey('memoryGb')
            ? (json_['memoryGb'] as core.num).toDouble()
            : null,
      );