DemoViewModel: {
code: number;
errorCode?: number | null;
errorMessage?: string | null;
errorName?: string | null;
errorType?: string | null;
status: boolean;
sum: number;
}
Type declaration
code: number
Optional errorCode?: number | null
Optional errorMessage?: string | null
Optional errorName?: string | null
Optional errorType?: string | null
status: boolean
sum: number
Sum of the numbers