toMap method

Map toMap()

Implementation

Map toMap() {
  Map map = {};
  if (xmConfig != null) {
    map['xmConfig'] = xmConfig!.toMap();
  }
  if (hwConfig != null) {
    map['hwConfig'] = hwConfig!.toMap();
  }
  if (vivoConfig != null) {
    map['vivoConfig'] = '';
  }
  if (oppoConfig != null) {
    map['oppoConfig'] = oppoConfig!.toMap();
  }
  if (jgConfig != null) {
    map['jgConfig'] = '';
  }
  return map;
}