Endpoint.fromJson constructor

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

Implementation

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