ServiceError.fromJson constructor

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

Implementation

factory ServiceError.fromJson(Map<String, dynamic> json) {
  return ServiceError(
    createdAt: json['CreatedAt'] as String?,
    instanceId: json['InstanceId'] as String?,
    message: json['Message'] as String?,
    serviceErrorId: json['ServiceErrorId'] as String?,
    stackId: json['StackId'] as String?,
    type: json['Type'] as String?,
  );
}