Serializer.fromJson constructor

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

Implementation

factory Serializer.fromJson(Map<String, dynamic> json) {
  return Serializer(
    orcSerDe: json['OrcSerDe'] != null
        ? OrcSerDe.fromJson(json['OrcSerDe'] as Map<String, dynamic>)
        : null,
    parquetSerDe: json['ParquetSerDe'] != null
        ? ParquetSerDe.fromJson(json['ParquetSerDe'] as Map<String, dynamic>)
        : null,
  );
}