OtaBean.fromJson constructor

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

Implementation

factory OtaBean.fromJson(Map<String, dynamic> json) =>
    OtaBean(address: json["address"], type: json["type"]);