toMap method
Implementation
Map<String, dynamic> toMap() => {
'spacing': spacing,
'margin': margin,
'align': align,
'color': color,
'overflow': overflow,
'softWrap': softWrap,
'widthBasis': widthBasis,
'titleStyle': titleStyle,
'titleColor': titleColor,
'titleWeight': titleWeight,
'titleSize': titleSize,
'titleMaxLines': titleMaxLines,
'subtitleStyle': subtitleStyle,
'subtitleColor': subtitleColor,
'subtitleWeight': subtitleWeight,
'subtitleSize': subtitleSize,
'subtitleMaxLines': subtitleMaxLines,
};