Input$PredefinedActionInput.fromJson constructor

Input$PredefinedActionInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$PredefinedActionInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('enable')) {
    final l$enable = data['enable'];
    result$data['enable'] = (l$enable as bool?);
  }
  if (data.containsKey('action')) {
    final l$action = data['action'];
    result$data['action'] = (l$action as String?);
  }
  return Input$PredefinedActionInput._(result$data);
}