Endpoint.fromJson constructor

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

Implementation

factory Endpoint.fromJson(Map<String, dynamic> json) {
  return Endpoint(
    address: json['Address'] as String,
    cachePeriodInMinutes: json['CachePeriodInMinutes'] as int,
  );
}