Source.fromJson constructor

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

Implementation

factory Source.fromJson(Map<String, dynamic> json) {
  return Source(
    s3: json['s3'] != null
        ? S3Source.fromJson(json['s3'] as Map<String, dynamic>)
        : null,
  );
}