toMap method

Map<String, dynamic> toMap ()

Implementation

Map<String,dynamic> toMap() {
  Map<String,dynamic> ret = {};
  contents.forEach((e) {
    if(e is PropertiesEntry) {
      ret[e.key] = e.value;
    }
  });
  return ret;
}