AspectRatio.fromJson constructor

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

Implementation

factory AspectRatio.fromJson(Map<String, dynamic> json) => AspectRatio(
      widthAspect: double.parse(json["widthAspect"].toString()),
      heightAspect: double.parse(json["heightAspect"].toString()),
      formatted: json["formatted"],
    );