Remote.fromJSON constructor

Remote.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory Remote.fromJSON(Map<String, dynamic> data) {
	return Remote(
		(data["url"] as String),
		auth: data["auth"] == null ? null : RemoteAuthentication.fromJSON(data["auth"]),
	);
}