BooleanResponse.fromJSON constructor

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

Implementation

factory BooleanResponse.fromJSON(Map<String, dynamic> data) {
	return BooleanResponse(
		(data["response"] as bool)
	);
}