GeneralResponse.fromRawJson constructor Null safety

GeneralResponse.fromRawJson(
  1. String str
)

Implementation

factory GeneralResponse.fromRawJson(String str) => GeneralResponse.fromJson(
      json.decode(str) as Map<String, dynamic>,
    );