CodablockParams.fromJson constructor

CodablockParams.fromJson(
  1. Map<String, dynamic> json
)

Creates a CodablockParams instance from a JSON representation.

Implementation

CodablockParams.fromJson(Map<String, dynamic> json) {
  aspectRatio = json['aspectRatio']?.toDouble();
  columns = json['columns'];
  rows = json['rows'];
}