RunCommandTarget.fromJson constructor

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

Implementation

factory RunCommandTarget.fromJson(Map<String, dynamic> json) {
  return RunCommandTarget(
    key: json['Key'] as String,
    values: (json['Values'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}