Dark.fromJson constructor

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

Implementation

Dark.fromJson(Map<String, dynamic> json) {
  _color = json['color'];
}