toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (notification != null) _result.addAll({"notification": notification});
  if (value != null) _result.addAll({"value": value});

  return _result;
}