ResponseModel.fromJson constructor

ResponseModel.fromJson(
  1. String source
)

Constructs a ResponseModel instance from a JSON string.

Implementation

factory ResponseModel.fromJson(String source) => ResponseModel.fromMap(
      json.decode(source) as Map<String, dynamic>,
    );