toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of CodablockParams.

Implementation

Map<String, dynamic> toJson() {
  return {'AspectRatio': aspectRatio, 'Columns': columns, 'Rows': rows};
}