LoadNetworkResourceOptions.fromJson constructor

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

Implementation

factory LoadNetworkResourceOptions.fromJson(Map<String, dynamic> json) {
  return LoadNetworkResourceOptions(
    disableCache: json['disableCache'] as bool? ?? false,
    includeCredentials: json['includeCredentials'] as bool? ?? false,
  );
}