WorkerMessageCode.fromJson constructor

WorkerMessageCode.fromJson(
  1. Map json_
)

Implementation

WorkerMessageCode.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        parameters: json_.containsKey('parameters')
            ? json_['parameters'] as core.Map<core.String, core.dynamic>
            : null,
      );