ExecutionParameter.fromJson constructor

ExecutionParameter.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExecutionParameter.fromJson(Map<String, dynamic> json) {
  return ExecutionParameter(
    defaultValues: (json['DefaultValues'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    name: json['Name'] as String?,
    type: json['Type'] as String?,
  );
}