CodablockParams.fromJson constructor

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

Implementation

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