ActionReason.fromJson constructor

ActionReason.fromJson(
  1. Map json_
)

Implementation

ActionReason.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? Action.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        detail: json_.containsKey('detail')
            ? json_['detail'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
      );