WorkerShutdownNotice.fromJson constructor

WorkerShutdownNotice.fromJson(
  1. Map json_
)

Implementation

WorkerShutdownNotice.fromJson(core.Map json_)
    : this(
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );