ComposerWorkload.fromJson constructor

ComposerWorkload.fromJson(
  1. Map json_
)

Implementation

ComposerWorkload.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        status: json_.containsKey('status')
            ? ComposerWorkloadStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );