toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (builtinSimpleAction != null)
        'builtinSimpleAction': builtinSimpleAction!,
      if (builtinUserInputAction != null)
        'builtinUserInputAction': builtinUserInputAction!,
      if (buttonLabel != null) 'buttonLabel': buttonLabel!,
      if (externalAction != null) 'externalAction': externalAction!,
      if (isAvailable != null) 'isAvailable': isAvailable!,
      if (reasons != null) 'reasons': reasons!,
    };