toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'all': all,
'bottom': bottom,
'end': end,
'horizontal': horizontal,
'left': left,
'right': right,
'start': start,
'top': top,
'vertical': vertical,
};
}