StartDiscovererResponse.fromJson constructor

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

Implementation

factory StartDiscovererResponse.fromJson(Map<String, dynamic> json) {
  return StartDiscovererResponse(
    discovererId: json['DiscovererId'] as String?,
    state: (json['State'] as String?)?.toDiscovererState(),
  );
}