DeviceOptionMessage.fromJson constructor
DeviceOptionMessage.fromJson(
- Map<String, dynamic> json
)
Implementation
DeviceOptionMessage.fromJson(Map<String, dynamic> json)
: this.rMessage = ifNullReturnEmpty(json['r_msg']),
this.lMessage = ifNullReturnEmpty(json['l_msg']),
this.iMessage = ifNullReturnEmpty(json['i_msg']),
this.dMessage = ifNullReturnEmpty(json['d_msg']),
this.aMessage = ifNullReturnEmpty(json['a_msg']),
this.sMessage =
json.containsKey('s_msg') ? ifNullReturnEmpty(json['s_msg']) : '';