Percent.fromJson constructor

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

Creates a Percent from JSON data.

Implementation

Percent.fromJson(Map<String, dynamic> json) : this(value: json['value']);