ResponseResult.from constructor

ResponseResult.from(
  1. Map<String, dynamic> data
)

Implementation

ResponseResult.from(Map<String, dynamic> data)
    : success = (data['code'] ?? 0) == 0,
      msg = data['msg'] ?? '';