toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of FontParams.

Implementation

Map<String, dynamic> toJson() {
  return {'Family': family, 'Size': size, 'Style': style};
}