ConnectStateBean.fromJson constructor

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

Implementation

factory ConnectStateBean.fromJson(Map<String, dynamic> json) => ConnectStateBean(
      autoConnect: json["autoConnect"] ?? false,
      connectState: json["connectState"] ?? 0,
    );