PlansModel.fromJson constructor

PlansModel.fromJson(
  1. String data
)

dart:convert

Parses the string and returns the resulting Json object as PlansModel.

Implementation

factory PlansModel.fromJson(String data) {
  return PlansModel.fromMap(json.decode(data) as Map<String, dynamic>);
}