DataSource.fromJson constructor

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

Implementation

factory DataSource.fromJson(Map<String, dynamic> json) {
  return DataSource(
    dataLocation: json['dataLocation'] as String?,
  );
}