Returns built response for api
@override Map<String, dynamic> build() => { "type": this.type.value, };