DPIProcessResponse.fromJson constructor

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

Implementation

factory DPIProcessResponse.fromJson(Map<String, dynamic> json) {
  return DPIProcessResponse(
    error: json['error'] ?? false,
    message: json['message'] ?? '',
    details: json['details'] ?? [],
  );
}