SkewedInfo.fromJson constructor

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

Implementation

factory SkewedInfo.fromJson(Map<String, dynamic> json) {
  return SkewedInfo(
    skewedColumnNames: (json['SkewedColumnNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    skewedColumnValueLocationMaps:
        (json['SkewedColumnValueLocationMaps'] as Map<String, dynamic>?)
            ?.map((k, e) => MapEntry(k, e as String)),
    skewedColumnValues: (json['SkewedColumnValues'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}